Search code examples
ruby-on-railsrubyruby-on-rails-3.2reserved-words

Is "configuration" a reserved name?


I am creating a scaffold with name "configuration" but it doesn't work, displaying the error:

"undefined method `all' for ActiveSupport::Configurable::Configuration:Class"

I tried the same scaffold but with different name and all was ok.

I would like know -- is "configuration" a reserved name?


Solution

  • You cannot use Configuration, because it is already used in Rails.