Rename rails3 application

Just published new version of rename gem with following changes:

  • Sanitize new name
  • Search/Replace module name in all files under root and config
  • Change session key
  • Change directory name

Add this line to your application’s Gemfile:

gem 'rename'


rails g rename:app_to NewName
rails g rename:app_to "New-Name"

Leave a Comment