Ruby on Rails
Monday, October 5, 2015
Hello,
Rails is an application framework with code generation and a number of integrated features for getting started quickly.
However, when dealing with application upgrades there are a number of manual steps required admins have to perform, else Rails appslications will not run.
Want do you think about to invert the practice how to deal with database migrations? I would prefer the folowing approach:
* generate initializers creating and migrating databases automatically
* if you do not need this feature in development, just disable the initializer
As a result:
* Applications will be able to run with the migration revision they do need to operate without errors
* Applications will be able to apply migrations they are packaged with
* Users and administrators will be happy, because Rails applications will be easier to manage
* the number of steps will be reduced, required to manually to this and that with databases, caches and so on
Another alternative would be to add the required code to do the database related tasks automatically and leave them deactivated.
What do you think?
Best regards, Mario
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ed6358f5-bac7-461c-9e0a-5fbe0b3e4bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment