This project is archived and is in readonly mode.
Rails.configuration is broken
Reported by Paul Sadauskas (Rando) | December 29th, 2009 @ 10:47 PM | in 3.0.2
% ./script/console
Loading development environment (Rails 3.0.pre)
irb(main):001:0> Rails.configuration
NoMethodError: undefined method `configuration' for #<Auth::Application:0x000000026383c8>
from /home/rando/development/api/spud/auth/vendor/gems/dirs/rails/railties/lib/rails/core.rb:52:in `configuration'
from (irb):1
from /home/rando/development/api/spud/auth/vendor/gems/dirs/rails/railties/lib/rails/commands/console.rb:53:in `start'
from /home/rando/development/api/spud/auth/vendor/gems/dirs/rails/railties/lib/rails/commands/console.rb:10:in `start'
from ./script/console:4:in `<main>'
Rails.configuration
is calling
@@application.configuration
, which isn't defined
anymore, but @@application.config
is.
Comments and changes to this ticket
-
José Valim January 2nd, 2010 @ 11:54 PM
- Milestone cleared.
- Assigned user set to Carl Lerche
-
Rizwan Reza January 3rd, 2010 @ 04:06 PM
I think AppName::Application.config is the same as what he describes.
-
Rizwan Reza January 16th, 2010 @ 11:55 PM
- Tag changed from configuration, rails3 to bugmash, configuration, rails3, review
And now Rails.configuration also works.
-
José Valim January 17th, 2010 @ 08:49 AM
- State changed from new to resolved
I fixed that a couple days ago.
-
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>