Oh joy, right. Thanks!
On Oct 26, 5:09 am, Fernando Perez <[EMAIL PROTECTED]>
wrote:
> That's because ENV_RAILS is still nil at the time of execution of this
> piece of code. in environment.rb you can force it with: ENV['RAILS_ENV']
> ||= 'production'
>
> --
> Posted viahttp://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
-~----------~----~----~----~------~----~------~--~---