method

with_value_from_user

rails latest stable - Class: ActiveRecord::Attribute

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.1.7) is shown here.

with_value_from_user(value)
public

No documentation available.

# File activerecord/lib/active_record/attribute.rb, line 66
    def with_value_from_user(value)
      type.assert_valid_value(value)
      self.class.from_user(name, value, type, original_attribute || self)
    end