Method: ActiveRecord::Reflection::MacroReflection#autosave=
- Defined in:
- activerecord/lib/active_record/reflection.rb
#autosave=(autosave) ⇒ Object
407 408 409 410 411 412 413 |
# File 'activerecord/lib/active_record/reflection.rb', line 407 def autosave=(autosave) [:autosave] = autosave parent_reflection = self.parent_reflection if parent_reflection parent_reflection.autosave = autosave end end |