When I do a migration, the changes are make in the test database. Does
anyone know the reason?

In the config/environment.rb file, I have this: ENV['RAILS_ENV'] ||=
'production'

And in the db/ folder, it creates a file named test.sqlite3

When I did the migrations, RoR used the test database, but when I want
to make something in the application, the migrations don“t appear
because the app is using the production database.

Please, help me.
-- 
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.

Reply via email to