Exception: Globalize::ActiveRecord::Exceptions::BadFieldName
- Inherits:
-
MigrationError
- Object
- StandardError
- MigrationError
- Globalize::ActiveRecord::Exceptions::BadFieldName
- Defined in:
- lib/globalize/active_record/exceptions.rb
Instance Method Summary collapse
-
#initialize(field) ⇒ BadFieldName
constructor
A new instance of BadFieldName.
Constructor Details
#initialize(field) ⇒ BadFieldName
Returns a new instance of BadFieldName.
7 8 9 |
# File 'lib/globalize/active_record/exceptions.rb', line 7 def initialize(field) super("Missing translated field #{field.inspect}") end |