Skip to content

grigio/rails_rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rails_rename renames the hardcoded app_name massively

An easy way to rename your Rails app project

Usage

Inside a rails app directory:

$ rake rails:rename[NewAppName]

OldAppName -> NewAppName, these files will be affected, append 'confirm' to apply
Rakefile
app/views/layouts/application.html.erb
config/application.rb
config/environment.rb
config/environments/development.rb
config/environments/production.rb
config/environments/test.rb
config/initializers/secret_token.rb
config/initializers/session_store.rb
config/routes.rb
config.ru
Current app name is: OldAppName
$ rake rails:rename[NewAppName,confirm]

Current app name is: NewAppName

Install

In Gemfile

	gem 'rails_rename'

bundle install

License

Copyright (c) Luigi Maselli

Released under the MIT license. See MIT-LICENSE file for details.

About

An easy way to rename a Rails app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages