method

attribute_missing

attribute_missing(match, *args, &block)
public

No documentation available.

# File activerecord/lib/active_record/attribute_methods.rb, line 159
    def attribute_missing(match, *args, &block) # :nodoc:
      if self.class.columns_hash[match.attr_name]
        ActiveSupport::Deprecation.warn(
          "The method `#{match.method_name}', matching the attribute `#{match.attr_name}' has "            "dispatched through method_missing. This shouldn't happen, because `#{match.attr_name}' "            "is a column of the table. If this error has happened through normal usage of Active "            "Record (rather than through your own code or external libraries), please report it as "            "a bug."
        )
      end

      super
    end