I could go back to a backup but loose a lot of new work on the app
Still hope to find a fix somewhere but this error is really strange
not anything else ive seen so far been able to
debug all errors i came across with google perhaps its a system disk
error, i repaired disk and no errors in my project path
so this is still a very very strange issue. hope to find a soiution,
if anyone has any ideas i would love to hear them.
My older backup seems to work fine

On Jul 19, 10:35 pm, Colin Law <[email protected]> wrote:
> On 19 July 2010 20:16, rubybox <[email protected]> wrote:
>
> > Anyone else some suggestions?
> > After removing the index.html.haml file i get the default missing
> > template error but if i open *any* other controller for example /post
> > i get EXACT the same error.. why is this happening ?
> > It seems that before any rendering is done it looks for an action
> > "show" somehow even if i remove all routes and have just the basic
> > ones
>
> Can you go back to your most recent known good backup and check it
> still works?  This will prove whether it is a system problem or
> related to changes made in your app.
>
> Another thought might be to try creating a new simple app and make
> sure that works.
>
> Colin
>
>
>
>
>
> > On Jul 19, 4:53 pm, rubybox <[email protected]> wrote:
> >> Hi Fred,
>
> >> Thanks for pointing that out , i thought of  a code error somewhere
> >> but after I delete the index.html.haml it throws error missing
> >> template index.html.haml
> >> now I recreated the file with a blank file no contents but then the
> >> error pops up again, it could be some disk based issue so im now
> >> running disk utility (osx)
> >> hope that solves the issue
>
> >> On Jul 19, 3:37 pm, Frederick Cheung <[email protected]>
> >> wrote:
>
> >> > On Jul 19, 1: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.
>
> >> > Looks like haml's blowing up trying to precompile your
> >> > index.html.haml view, which could either be that this file is very
> >> > screwed or that there's a bug in haml itself.
>
> >> > Fred
>
> >> > > 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 
> > athttp://groups.google.com/group/rubyonrails-talk?hl=en.

-- 
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