Exception: Globalize::ActiveRecord::Exceptions::BadFieldType
- Inherits:
-
MigrationError
- Object
- StandardError
- MigrationError
- Globalize::ActiveRecord::Exceptions::BadFieldType
- Defined in:
- lib/globalize/active_record/exceptions.rb
Instance Method Summary collapse
-
#initialize(name, type) ⇒ BadFieldType
constructor
A new instance of BadFieldType.
Constructor Details
#initialize(name, type) ⇒ BadFieldType
Returns a new instance of BadFieldType.
13 14 15 |
# File 'lib/globalize/active_record/exceptions.rb', line 13 def initialize(name, type) super("Bad field type for field #{name.inspect} (#{type.inspect}), should be :string or :text") end |