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/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/associations/association.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/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/reflection/association_reflection.rb,
lib/torque/postgresql/associations/preloader/association.rb,
lib/torque/postgresql/associations/builder/belongs_to_many.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, Collector, I18n, Inheritance, InsertAll, Migration, Reflection, Relation, SchemaCache Classes: AuxiliaryStatement, Box, Circle, GeometryBuilder, Line, Railtie, Segment

Constant Summary collapse

AR610 =

Stores a version check for compatibility purposes

(ActiveRecord.gem_version >= Gem::Version.new('6.1.0'))
VERSION =
'2.1.3'
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



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

def self.logger
  ActiveRecord::Base.logger
end