Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

galkn/Rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Plugin for easily renaming your Rails3 app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages