Flowdock
method

serializable_attribute_names

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveRecord::Serialization::Serializer
serializable_attribute_names() public

To replicate the behavior in ActiveRecord#attributes, :except takes precedence over :only. If :only is not set for a N level model but is set for the N+1 level models, then because :except is set to a default value, the second level model can have both :except and :only set. So if :only is set, always delete :except.

Show source
Register or log in to add new notes.