# File lib/big_record/model.rb, line 488 def validate_attribute_type(value, column) unless (value == nil) or value.kind_of?(column.klass) raise WrongAttributeDataType, "#{human_attribute_name(column.name)} has the wrong type. Expected #{column.klass}. Record is #{value.class}" end end