I just upgraded from Rails 2.2.2 to Rails 2.3.2, and found that
running rake db:migrate fails now in production mode, unless I add "--
require 'config/environment'" between "rake" and "db:migrate". The
error complains that model classes referenced in our migrations are
not defined. In development mode, everything works as usual.
Is this to be expected, or have I missed some step in the upgrade?
Thanks,
--Paul
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---