lib/granite/form/model/attributes/reference_one.rb in granite-form-0.3.0 vs lib/granite/form/model/attributes/reference_one.rb in granite-form-0.4.0
- old
+ new
@@ -22,10 +22,10 @@
end
end
def type_casted_value
variable_cache(:value) do
- type_definition.ensure_type(read_before_type_cast)
+ type_definition.prepare(read_before_type_cast)
end
end
def read_before_type_cast
@value_cache