How do you write a migration to rename an ActiveRecord model and its table in Rails?
I’m terrible at naming and realize that there are a better set of names for my models in my Rails app. Is there any way to use a migration to rename a model and its corresponding table? 5 Answers 5