method

value_for_database

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Attribute
value_for_database() public

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.rb, line 55
    def value_for_database
      if !defined?(@value_for_database) || type.changed_in_place?(@value_for_database, value)
        @value_for_database = _value_for_database
      end
      @value_for_database
    end
Register or log in to add new notes.