Ralph Shnelvar wrote: [...] > I tracked through environment.rb with a debugger and > RAILS_GEM_VERSION = '2.0.2' unless defined? RAILS_GEM_VERSION > RAILS_GEM_VERSION is undefined before the statement and is defined as > RAILS_GEM_VERSION = "2.0.2" > afterwards.
Why did you need a debugger for that? That's the standard way of specifying Rails versions. > > I continued the run and immediately got the error > - - - > F:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer. > rb:530:in `send': undefined method `cache_template_extensions=' for > ActionView:: > Base:Class (NoMethodError) > - - - > > So a little sniffing in the debugger and Google found > http://paulsturgess.co.uk/articles/show/75-undefined-method-cache_template_extensions-when-upgrading-to-ruby-on-rails-222 > > Commending out the line > # config.action_view.cache_template_extensions = false > in application.rb and voila ... > > rescue_from ActionController::RoutingError, :with => :route_not_found > > now works. > > I love you, Frederick Cheung. Please marry me. > > - - - - > > Now I have another decision to make. Do I use the autlogic code or the > restful authorization code? Why the hell would you use restful_auth? It has virtually no advantages over Authlogic and many disadvantages. I already explained this to you in some detail. > > The http://code.google.com/p/simply-rich-authenticator code does a lot > of stuff I want (e.g. email confirmation of the user's email account). > You should be able to do that pretty easily with Authlogic. > Yet ... I am reading a lot about why I should not use it. > > Some advice, please. I already gave you some in an earlier post. Perhaps you should go back and read it instead of acting like you never saw it. Remember: we'll help, but you have to read the help. It's not really fair to ask the same question multiple times. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- 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.

