migration
Nothing to display jet.
Nothing to display jet.
I found that one of the original Spree 1.3.0 migrations is broken for rolling back because of several reasons.
One of the reasons is that down method adds price without :null => false option.
It was done, I think, because it's hard to define :null => false column without :default option. More under the cut
Quite often in #capistrano recipes I see running migrations and assets precompilation on each deploy which I think is not what you want because it takes time and if there is no new migrations or assets its time is spent in vain. In this post I will show you a script which is used in #gistflow to skip #migrations. More under the cut
In running #rails application there could be hundreds of #migration files and one should definitely delete invalid ones. More under the cut