method

_assign_attribute

Importance_0
v4.2.9 - Show latest stable - 0 notes - Class: AttributeAssignment
_assign_attribute(k, v) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_assignment.rb, line 53
    def _assign_attribute(k, v)
      public_send("#{k}=", v)
    rescue NoMethodError, NameError
      if respond_to?("#{k}=")
        raise
      else
        raise UnknownAttributeError.new(self, k)
      end
    end
Register or log in to add new notes.