This project is archived and is in readonly mode.

#3889 ✓wontfix
trevor

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

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>

People watching this ticket

Pages