We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9849923 commit 6460cbeCopy full SHA for 6460cbe
test/cases/coerced_tests.rb
@@ -1340,6 +1340,12 @@ def test_registering_new_handlers_coerced
1340
def test_registering_new_handlers_for_association_coerced
1341
assert_match %r{#{Regexp.escape(topic_title)} ~ N'rails'}i, Reply.joins(:topic).where(topics: { title: /rails/ }).to_sql
1342
end
1343
+
1344
+ private
1345
1346
+ def topic_title
1347
+ Topic.lease_connection.quote_table_name("topics.title")
1348
+ end
1349
1350
1351
0 commit comments