Sha256: 431bde99948a25cfb0dc528be1214dcb9b6c842b52d3f9ecebeb605f33034068

Contents?: true

Size: 396 Bytes

Versions: 11

Compression:

Stored size: 396 Bytes

Contents

module Torque
  module PostgreSQL
    module Associations
      module JoinDependency
        module JoinAssociation
          def build_constraint(_, table, _, foreign_table, _)
            reflection.build_join_constraint(table, foreign_table)
          end
        end

        ::ActiveRecord::Associations::JoinDependency::JoinAssociation.prepend(JoinAssociation)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
torque-postgresql-1.1.8 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.7 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.6 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.5 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.4 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.3 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.2 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.1 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.1.0 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.0.1 lib/torque/postgresql/associations/join_dependency/join_association.rb
torque-postgresql-1.0.0 lib/torque/postgresql/associations/join_dependency/join_association.rb