Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Plugin for easily renaming your Rails3 app
Ruby
branch: master
Failed to load latest commit information.
lib Merge pull request #1 from ryandotsmith/patch-1
test edited readme
MIT-LICENSE edited readme
README.md Update README.md
Rakefile edited readme
init.rb edited readme
install.rb edited readme
uninstall.rb edited readme

README.md

Rename

Note plugins are deprecated in Rails 4. This plugin will only work for Rails 3 and below.

Renaming your app in Rails 3 is no longer a hassle. This plugin allows you to rename your Ruby on Rails 3 app seamlessly with a single command.

Installation

% rails plugin install git://github.com/get/Rename.git

Usage

Manually rename your main project directory to SweetNewName and run:

% rails g rename_to SweetNewName

That will rename your app in the following files:

config/application.rb
config/environment.rb
config/environments/development.rb
config/environments/test.rb
config/environments/production.rb
config/routes.rb
config.ru
config/initializers/secret_token.rb
config/initializers/session_store.rb

Uninstall

Remove the plugin directory manually or simply:

rm -r "vendor/plugins/Rename"
Something went wrong with that request. Please try again.