Module: ActiveRecord::VirtualAttributes::VirtualFields::NonARModels
- Defined in:
- lib/active_record/virtual_attributes/virtual_fields.rb
Overview
rubocop:disable Style/SingleLineMethods
Instance Method Summary collapse
- #add_autosave_association_callbacks(*_args) ⇒ Object
- #belongs_to_required_by_default ⇒ Object
- #dangerous_attribute_method?(_) ⇒ Boolean
- #generated_association_methods ⇒ Object
Instance Method Details
#add_autosave_association_callbacks(*_args) ⇒ Object
14 |
# File 'lib/active_record/virtual_attributes/virtual_fields.rb', line 14 def add_autosave_association_callbacks(*_args); self; end |
#belongs_to_required_by_default ⇒ Object
16 |
# File 'lib/active_record/virtual_attributes/virtual_fields.rb', line 16 def belongs_to_required_by_default; false; end |
#dangerous_attribute_method?(_) ⇒ Boolean
10 |
# File 'lib/active_record/virtual_attributes/virtual_fields.rb', line 10 def dangerous_attribute_method?(_); false; end |
#generated_association_methods ⇒ Object
12 |
# File 'lib/active_record/virtual_attributes/virtual_fields.rb', line 12 def generated_association_methods; self; end |