I'm trying to get some issues either closed or some hard TODO's attached. I'm 
looking at this issue and wanted to bring it up to the group:

https://github.com/rails/rails/issues/2899#issuecomment-7257057


Problem:

Production database differs from test environment.

Workaround:

Add conditionals to migrations, something like:

if Rails.env.test?
…

Problem with the workaround:

Now the schema we save is different for different environments.



The suggested fix in the issue would be to let our create and drop table 
commands be aware of the environment. I've not worked with the schema writing 
code before, so I'm not sure the scope involved in such a request.

If you have an opinion about this issue, or care to look into it. Please reply: 
https://github.com/rails/rails/issues/2899#issuecomment-7257057


--  
Richard Schneeman
http://heroku.com

@schneems (http://twitter.com/schneems)



-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to