Module: Torque::PostgreSQL

Includes:
ActiveSupport::Configurable, AutosaveAssociation::ClassMethods, Reflection
Defined in:
lib/torque/postgresql/base.rb,
lib/torque/postgresql/i18n.rb,
lib/torque/postgresql/config.rb,
lib/torque/postgresql/adapter.rb,
lib/torque/postgresql/railtie.rb,
lib/torque/postgresql/version.rb,
lib/torque/postgresql/relation.rb,
lib/torque/postgresql/collector.rb,
lib/torque/postgresql/arel/nodes.rb,
lib/torque/postgresql/insert_all.rb,
lib/torque/postgresql/reflection.rb,
lib/torque/postgresql/table_name.rb,
lib/torque/postgresql/adapter/oid.rb,
lib/torque/postgresql/inheritance.rb,
lib/torque/postgresql/schema_cache.rb,
lib/torque/postgresql/arel/visitors.rb,
lib/torque/postgresql/adapter/oid/box.rb,
lib/torque/postgresql/adapter/quoting.rb,
lib/torque/postgresql/arel/operations.rb,
lib/torque/postgresql/attributes/enum.rb,
lib/torque/postgresql/attributes/lazy.rb,
lib/torque/postgresql/relation/merger.rb,
lib/torque/postgresql/adapter/oid/enum.rb,
lib/torque/postgresql/adapter/oid/line.rb,
lib/torque/postgresql/arel/join_source.rb,
lib/torque/postgresql/geometry_builder.rb,
lib/torque/postgresql/adapter/oid/range.rb,
lib/torque/postgresql/attributes/period.rb,
lib/torque/postgresql/adapter/oid/circle.rb,
lib/torque/postgresql/attributes/builder.rb,
lib/torque/postgresql/adapter/oid/segment.rb,
lib/torque/postgresql/arel/select_manager.rb,
lib/torque/postgresql/attributes/enum_set.rb,
lib/torque/postgresql/auxiliary_statement.rb,
lib/torque/postgresql/adapter/oid/enum_set.rb,
lib/torque/postgresql/adapter/oid/interval.rb,
lib/torque/postgresql/arel/infix_operation.rb,
lib/torque/postgresql/autosave_association.rb,
lib/torque/postgresql/relation/distinct_on.rb,
lib/torque/postgresql/relation/inheritance.rb,
lib/torque/postgresql/adapter/schema_dumper.rb,
lib/torque/postgresql/adapter/schema_creation.rb,
lib/torque/postgresql/attributes/builder/enum.rb,
lib/torque/postgresql/schema_cache/inheritance.rb,
lib/torque/postgresql/adapter/schema_statements.rb,
lib/torque/postgresql/attributes/builder/period.rb,
lib/torque/postgresql/adapter/schema_definitions.rb,
lib/torque/postgresql/migration/command_recorder.rb,
lib/torque/postgresql/adapter/database_statements.rb,
lib/torque/postgresql/auxiliary_statement/settings.rb,
lib/torque/postgresql/relation/auxiliary_statement.rb,
lib/torque/postgresql/associations/builder/has_many.rb,
lib/torque/postgresql/auxiliary_statement/recursive.rb,
lib/torque/postgresql/reflection/runtime_reflection.rb,
lib/torque/postgresql/reflection/through_reflection.rb,
lib/torque/postgresql/associations/association_scope.rb,
lib/torque/postgresql/reflection/abstract_reflection.rb,
lib/torque/postgresql/reflection/has_many_reflection.rb,
lib/torque/postgresql/schema_cache/schema_reflection.rb,
lib/torque/postgresql/associations/foreign_association.rb,
lib/torque/postgresql/reflection/association_reflection.rb,
lib/torque/postgresql/associations/preloader/association.rb,
lib/torque/postgresql/associations/preloader/loader_query.rb,
lib/torque/postgresql/associations/builder/belongs_to_many.rb,
lib/torque/postgresql/schema_cache/bound_schema_reflection.rb,
lib/torque/postgresql/reflection/belongs_to_many_reflection.rb,
lib/torque/postgresql/associations/belongs_to_many_association.rb

Defined Under Namespace

Modules: Adapter, Arel, Associations, Attributes, AutosaveAssociation, Base, BoundSchemaReflection, Collector, I18n, Inheritance, InsertAll, Migration, Reflection, Relation, SchemaCache, SchemaReflection Classes: AuxiliaryStatement, Box, Circle, GeometryBuilder, Line, Railtie, Segment, TableName

Constant Summary collapse

AR710 =

Stores a version check for compatibility purposes

(ActiveRecord.gem_version >= Gem::Version.new('7.1.0'))
AR720 =
(ActiveRecord.gem_version >= Gem::Version.new('7.2.0'))
VERSION =
'3.4.1'
InheritanceError =
Class.new(ArgumentError)
LookupError =
Class.new(ArgumentError)

Class Method Summary collapse

Methods included from Reflection

#create

Methods included from AutosaveAssociation::ClassMethods

#add_autosave_association_callbacks

Class Method Details

.loggerObject

Use the same logger as the Active Record one



12
13
14
# File 'lib/torque/postgresql/config.rb', line 12

def self.logger
  ActiveRecord::Base.logger
end