Flowdock
method

attribute_missing

Importance_1
Ruby on Rails latest stable (v4.0.2) - 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 tell attribute_missing to dispatch the attribute. This method can be overloaded to customize the behavior.

Show source
Register or log in to add new notes.