Flowdock
method

attribute_missing

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveModel::AttributeMethods
attribute_missing(match, *args, &block) public

attribute_missing is like method_missing, but for attributes. When method_missing is called we check to see if there is a matching attribute method. If so, we call attribute_missing to dispatch the attribute. This method can be overloaded to customise the behaviour.

Show source
Register or log in to add new notes.