Reputation: 97
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?
Upvotes: 4
Views: 149
Reputation: 24347
You cannot use Configuration
, because it is already used in Rails.
Upvotes: 1