Nobody some ideas clues? I have spend like 2 hours trying to fix this :
(

On Jul 19, 2:01 pm, rubybox <[email protected]> wrote:
> I changed fairly much in my app without constant testing ( my bad )
> now i get an error which I cannot seem to debug point my finger on.
>
> I have a home controller which just displays a welcome page this had a
> index only action.
> Whatever controller I try to open i always get above error message
>
> ActionView::TemplateError (undefined method `show' for
> #<Haml::Precompiler::Line:0x10547ef40>) in app/views/home/
> index.html.haml:
>
>     haml (3.0.9) [v] lib/haml/precompiler.rb:178:in `precompile'
>     haml (3.0.9) [v] lib/haml/engine.rb:121:in `initialize'
>     haml (3.0.9) [v] rails/./lib/haml/template/plugin.rb:29:in `new'
>     haml (3.0.9) [v] rails/./lib/haml/template/plugin.rb:29:in
> `compile'
>     haml (3.0.9) [v] rails/./lib/haml/helpers/action_view_mods.rb:
> 13:in `render'
>     haml (3.0.9) [v] rails/./lib/haml/helpers/action_view_mods.rb:
> 13:in `render'
>     warden (0.10.7) [v] lib/warden/manager.rb:35:in `call'
>     warden (0.10.7) [v] lib/warden/manager.rb:34:in `catch'
>     warden (0.10.7) [v] lib/warden/manager.rb:34:in `call'
>     haml (3.0.9) [v] rails/./lib/sass/plugin/rack.rb:41:in `call'
>     -e:1:in `load'
>     -e:1
>
> Showing app/views/home/index.html.haml where line # raised:
>
> undefined method `show' for #<Haml::Precompiler::Line:0x10547ef40>
> Extracted source (around line #):
>
> The extracted source around line # is zero
> Any more advanched ruby on rails programmers can help me point my
> finger on where this error comes from?
> I dont understand every controller I try to open in browser gives this
> error message,
> cleaning my routes.rb to the rails default and setting only home
> controller as root also does not resolve this error.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to