I have a Active Record model \"car\", I would like to change the name of this model to \"train\" without changing functionalities inside, that\'s only>
If you're using RubyMine, go into the model, right click the class name > refactor and change the name. RubyMine will refactor everything and create a new migration for the database as well.