I have the production version of my rails site hosted on a server. (I
uncommented the line "ENV['RAILS_ENV'] ||= 'production'" in the
environment.rb file). I know it's running in production mode because I
can tell that the production database is being used and it's the
production log that's being written to.
But, whenever I try to "rake db:migrate" or "script/console", it's the
development database that gets migrated and the development
environment that gets loaded into console --- unless I specify
What's up with that? I've never had that happen before. The hosting
company says it's nothing in their config (of course), so is there
something in one of my files that could be doing that?