I agree, that's what I had in mind too . How about a config named "generate_schema_after_migration" which holds true/false. It could be true by default, and you can override the default behavior by setting it to false in `config/environments/production.rb`. I am ready to work on this if I get a green light.
On 4 February 2014 00:54, Xavier Noria <[email protected]> wrote: > Adding support for this in principle makes sense to me. Since we want the > file to be generated in some environments an not in others, a generated > flag would probably make sense. A flag could also support the use case > explained by Seth, since he would just toggle it in > config/environments/production.rb (say). > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/rubyonrails-core. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
