Sha256: d7407386a8b719b33dc897ed84d1bd0ce7bf5057ded25d073c9d6fa5eca02120
Contents?: true
Size: 492 Bytes
Versions: 37
Compression:
Stored size: 492 Bytes
Contents
module Globalize module ActiveRecord module Exceptions class MigrationError < StandardError; end class BadFieldName < MigrationError def initialize(field) super("Missing translated field #{field.inspect}") end end class BadFieldType < MigrationError def initialize(name, type) super("Bad field type for field #{name.inspect} (#{type.inspect}), should be :string or :text") end end end end end
Version data entries
37 entries across 37 versions & 6 rubygems