On 17 August 2010 10:07, Peter De Berdt <peter.de.be...@pandora.be> wrote: > > On 17 Aug 2010, at 11:05, Peter De Berdt wrote: > >> <% if RAILS_ENV="production"> > > Typo: <% if RAILS_ENV=="production">
As an aside, the RAILS_ENV constant is now deprecated; the new way to do this test is: if Rails.env.production? Chris -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.