I have a Ruby on Rails application that was created using:
rails new old_name -d mysql
Now I want to change the application name to be
in Rails 3, the application class is defined in config/application.rb, and referred to in your environment files (config/environment.rb, config/environments/*.rb) and config/routes.rb. I think that's it, but you should find out pretty quickly from rails server if you missed one. :)
That said, unless you've got a very specific reason for wanting it changed, I wouldn't bother. Doesn't really affect the application in any other way.
On rails 4
Add
gem 'rename'
to Gemfile then do
bundle install
After bundle install
rails g rename:app_to name_of_app