method
_assign_attribute
_assign_attribute(k, v)
private
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