lib/active_data/model/attributes.rb in active_data-1.1.2 vs lib/active_data/model/attributes.rb in active_data-1.1.3
- old
+ new
@@ -139,9 +139,13 @@
def read_attribute_before_type_cast(name)
attribute(name).read_before_type_cast
end
+ def attribute_came_from_user?(name)
+ attribute(name).came_from_user?
+ end
+
def attribute_present?(name)
attribute(name).value_present?
end
def attributes(include_associations = true)