module Torque::PostgreSQL::Relation::ClassMethods
Public Instance Methods
_auto_cast_attribute()
click to toggle source
Easy and storable way to access the name used to get the indicater of auto casting inherited records
# File lib/torque/postgresql/relation.rb, line 110 def _auto_cast_attribute @@auto_cast ||= Torque::PostgreSQL.config .inheritance.auto_cast_column_name.to_sym end
_record_class_attribute()
click to toggle source
Easy and storable way to access the name used to get the record table name when using inheritance tables
# File lib/torque/postgresql/relation.rb, line 103 def _record_class_attribute @@record_class ||= Torque::PostgreSQL.config .inheritance.record_class_column_name.to_sym end