Jaime Rocha
Jaime Rocha

Reputation: 97

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?

Upvotes: 4

Views: 149

Answers (1)

infused
infused

Reputation: 24347

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

Upvotes: 1

Related Questions