method

_assign_attribute

Importance_0
v5.1.7 - 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 activemodel/lib/active_model/attribute_assignment.rb, line 44
      def _assign_attribute(k, v)
        if respond_to?("#{k}=")
          public_send("#{k}=", v)
        else
          raise UnknownAttributeError.new(self, k)
        end
      end
Register or log in to add new notes.