[Rails] Problem with production on Dreamhost - TemplateError

Tom Taylor
2006-01-16T11:33:51Z

Hi all,

I''m trying to deploy my app to Dreamhost for production. I''ve
managed to
solve all of the Error 500s and it''s *almost* working.

When I try and view a page, I get a TemplateError that I don''t get when
I''m running from home using InstantRails under Windows.

The error is:

ActionView::TemplateError (undefined method `user?'' for
#<#<Class:0x40a7c224>:0x409e0644>) on line #15 of
app/views/layouts/application.rhtml:

The method ''user?'' is definitely present as an application
helper. It reads:

def user?
	!session[:user].nil?
end


The most confusing thing is that there are no problems with this when
running on my development box!

Any suggestions?

Thanks a lot!

Tom