I initially released my first Rails app (an API for our iPhone application) a few weeks ago, but last night I noticed I had misspelled a column name. I am going to rename the column, but when I do this it will break the iPhone application because it will be spelled differently.
What is the best way to keep the old iPhone application intact post-rename of my column? I am deploying the rails app on Heroku, if that makes any difference.
Rename the column, then create an alias of it with the old, incorrect name. E.g.:
Then wait for the day when the old iPhone app no longer needs to be supported, and remove the alias.