This project is archived and is in readonly mode.
application name non-trivial to alter
Reported by trevor | February 7th, 2010 @ 09:41 PM | in 3.0.2
currently the application name is generated in seven different places making it non-trivial to update.
% grep -Rn MyApp *
config/application.rb:8:module MyApp
config/environment.rb:5:MyApp::Application.initialize!
config/environments/development.rb:1:MyApp::Application.configure do
config/environments/production.rb:1:MyApp::Application.configure do
config/environments/test.rb:1:MyApp::Application.configure do
config/routes.rb:1:MyApp::Application.routes.draw do |map|
config.ru:4:run MyApp::Application
could this be updated to DRY?
Comments and changes to this ticket
-
Prem Sichanugrist (sikachu) February 8th, 2010 @ 07:03 PM
- State changed from new to open
- Milestone cleared.
This would be nice to have. Something like:
rails rename my_awesome_app_name
:)
-
Prem Sichanugrist (sikachu) February 11th, 2010 @ 03:54 PM
- State changed from open to wontfix
Sorry, but after some discussion in the mailing group, it comes to the conclusion that this feature won't be added to core.
-
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>