I am wondering if Rails is capable of doing migration on the fly without locking table. For example, there are too many tools that can do this pt-cambio-esquema-en-línea y oak-online-alter-table. Therefore it's reasonable to assume that it's already done, are you familiar with something like this?
preguntado el 30 de enero de 12 a las 19:01
Funny, I just answered another similar question. You should look into https://github.com/DAddYE/mini_record
It works very similar to Datamapper. Just define or modify your column names/types right in your model and the schema gets updated automagically. Pretty cool.
I'm not sure about the locking, but you can submit an issue on that github page. The developers are very responsive and helpful.