sporkd / html5-rails

Generate Html5 Boilerplate for your Rails apps!
https://github.com/sporkd/html5-rails
MIT License
240 stars 35 forks source link

undefined method `html_tag' for # #34

Open xhoy opened 10 years ago

xhoy commented 10 years ago

I read bug #19 it does seem the same but the fix isn't working

In rails 4.0 i get exactly the same problem. When i change the an application controller it works, but when i don't change anything it breaks.

In rails 4.0 the removed the assets groups, maby that breaks it again? I created a new rails 4.0 project and it works like a charm... So it seems there is something woring with my project or a dependency...

i tried 20 way's of list the gems but non of them seem to be working or fix the problem.

Any suggestions or test i could do?

my list looks like this:

gem 'sass-rails', '~> 4.0' gem 'coffee-rails', '~> 4.0' gem 'compass-rails', '~> 1.1.3' gem 'compass-h5bp' gem 'html5-rails', "~> 0.1.0" gem 'haml', "~> 4.0.5" gem 'haml-rails'

gem 'jquery-rails', "~> 3.0.0" gem 'jquery-ui-rails' gem 'jquery-cookie-rails'

dbwinger commented 9 years ago

@xhoy did you ever figure this out? I'm running into the same problem on a rails 4.0 project. For me it only happens when I add a RailsAdmin::MainController.class_eval block, and like you, if I make a change in ApplicationController that fixes it until a server restart.