Exception: Globalize::ActiveRecord::Exceptions::BadFieldName

Inherits:
MigrationError
  • Object
show all
Defined in:
lib/globalize/active_record/exceptions.rb

Instance Method Summary collapse

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