module ActiveRecordEx
Extends setters for has_many associations So that ordering of association arrays is persisted
extends accepts_nested_attributes_for by default, accepts_nested_attributes_for “allow_destroy”s, ie, will destroy associations if explicitly marked by _destroy: true this flips that, causing an association to be destroyed if it's not included in the updating attrs
allows you to chain has_manys and belongs_tos eg: $esc_pol.escalation_rules.escalation_targets eg: $usr.schedules.escalation_policies
Allows choosing the subclass of a model via a passed :type parameter this is useful for using accepts_nested_attributes_for with subclassed associations
Constants
- VERSION