method
attribute_missing
v4.0.2 -
Show latest stable
- 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.