method

write_attribute_without_type_cast

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Write
write_attribute_without_type_cast(attr_name, value) 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_methods/write.rb, line 49
        def write_attribute_without_type_cast(attr_name, value)
          sync_with_transaction_state if @transaction_state&.finalized?
          @attributes.write_cast_value(attr_name.to_s, value)
          value
        end
Register or log in to add new notes.