Flowdock
method

write_attribute_without_type_cast

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
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/dirty.rb, line 123
        def write_attribute_without_type_cast(attr_name, value)
          name = attr_name.to_s
          if self.class.attribute_alias?(name)
            name = self.class.attribute_alias(name)
          end
          result = super(name, value)
          clear_attribute_change(name)
          result
        end
Register or log in to add new notes.