Sha256: deb4f3e11514982da41717f6e9b69e1bf3be2e6501f90d5b44c52962907042ee

Contents?: true

Size: 485 Bytes

Versions: 194

Compression:

Stored size: 485 Bytes

Contents

module ActiveRecord
  module Associations
    class JoinDependency # :nodoc:
      class JoinBase < JoinPart # :nodoc:
        def ==(other)
          other.class == self.class &&
            other.active_record == active_record
        end

        def aliased_prefix
          "t0"
        end

        def table
          Arel::Table.new(table_name, arel_engine)
        end

        def aliased_table_name
          active_record.table_name
        end
      end
    end
  end
end

Version data entries

194 entries across 163 versions & 15 rubygems

Version Path
mdg-1.0.1 vendor/bundle/ruby/2.3.0/gems/activerecord-3.2.22.5/lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.22.5 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.22.4 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.22.3 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.22.2 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.22.1 lib/active_record/associations/join_dependency/join_base.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.22 lib/active_record/associations/join_dependency/join_base.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.12/lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.21 lib/active_record/associations/join_dependency/join_base.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/active_record/associations/join_dependency/join_base.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/active_record/associations/join_dependency/join_base.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/active_record/associations/join_dependency/join_base.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.18/lib/active_record/associations/join_dependency/join_base.rb
apl-library-0.0.90 vendor/bundle/ruby/1.8/gems/activerecord-3.2.18/lib/active_record/associations/join_dependency/join_base.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.18/lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.20 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.19 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.18 lib/active_record/associations/join_dependency/join_base.rb
activerecord-3.2.17 lib/active_record/associations/join_dependency/join_base.rb