Module: Sequel::Plugins::NestedAttributes::InstanceMethods
- Defined in:
- lib/sequel/lib/sequel/plugins/nested_attributes.rb
Instance Method Summary collapse
-
#modified? ⇒ Boolean
Assume if an instance has nested attributes set on it, that it has been modified even if none of the instance's columns have been modified.
Instance Method Details
#modified? ⇒ Boolean
Assume if an instance has nested attributes set on it, that it has been modified even if none of the instance's columns have been modified.
73 74 75 |
# File 'lib/sequel/lib/sequel/plugins/nested_attributes.rb', line 73 def modified? super || @has_nested_attributes end |