Monthly Archives: November 2010

Renaming a model in Rails

When renaming a model in Rails (2.3), there are a range of files you may need to change: Create a migration to rename the database table: (rename_table :oldname, :newname) Rename the model. Edit any associations in other models. Rename the … Continue reading

Posted in Rails | 1 Comment