I fairly often find myself changing the name of a class, as a project alters over time. In a rails project, this means I have to; Rename the source code (e.g. app/models/foo.rb -> app/models/bar.rb)Rename the spec file (e.g. spec/models/foo_spec.rb -> spec/models/bar_spec.rb)Search and replace in my code, changing e.g. ‘Foo’ to ‘Bar’ but not changing ‘FooBaz’ … Continue reading Rails Class Renamer