Sha256: d8dfcd8138a145462348b450359b02c2493773d793a7dd2f67e500d51dbbe29a
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
require 'test_helper' describe 'Joining with an alias' do it "Works properly" do ChildTag.includes(:parent_tag).references(:parent_tag) .where("parent_tags_tags.id" => [2,3,4]).to_sql.must_match /"parent_tags_tags"."id" IN \(2, 3, 4\)/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
postgres_ext-3.0.1 | test/queries/alias_test.rb |