When I include the line:
validates :locale, inclusion: I18N.available_locales.map(&:to_s)
I get an error on app startup:
uninitialized constant Cms::I18N (NameError)
(Cms being the model name)
Any thoughts on why this is happening?
Thanks,
Bill
[Rails: 3.0.9, Ruby 1.9.2p136]