• This repository has been archived on 08/Feb/2023
  • Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 13 years ago
  • Updated almost 11 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Plugin for easily renaming your Rails3 app

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"