Flowdock
method

attributes_hash

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveModel::Serializers::Xml::Serializer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.1.0) is shown here.

These similar methods exist in v4.0.2:

attributes_hash() 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.