I wonder how people deal with gradually rolling out features and versions in a production evironment. the scenario is where you have two versions of tested code one already in production and one to be rolled out, these are the common issues..
- different versions of code within same rails app.
- different versions of rails app during rollout to users.
- different database structures between version
- moving data across new databases and servers.
here are some ideas for the above for discussion
- if statements with constant, version numbers in M,V,C names
- load balance to different app servers (how to make sticky?) , RVM
- have old and new fields in tables as temporary, or migrate records to new tables or
databases. - no easy way to move data between servers.