lib/extensions/ar_virtual.rb
# Compatibility method: `virtual_attribute` is a more accurate name
Compatibility method: `virtual_attribute` is a more accurate name
Compatibility method : ` virtual_attribute ` is a more accurate name
def attributes_builder
      @attributes_builder ||= ::ActiveRecord::AttributeSet::Builder.new(attribute_types, primary_key) do |name|
        unless columns_hash.key?(name) || virtual_attribute?(name)
          _default_attributes[name].dup
        end
      end
    end
def attributes_builder @attributes_builder ||= :: ActiveRecord :: AttributeSet :: Builder . new ( attribute_types , primary_key ) do | name | unless columns_hash . key? ( name ) || virtual_attribute? ( name ) _default_attributes [ name ] . dup end end end
Compatibility method: `virtual_attribute` is a more accurate name
Compatibility method : ` virtual_attribute ` is a more accurate name