This project is archived and is in readonly mode.

#3631 ✓resolved
Paul Sadauskas (Rando)

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

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>

Pages