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 b427c50 commit 2c0b107Copy full SHA for 2c0b107
activerecord/test/cases/finder_test.rb
@@ -55,10 +55,13 @@ def test_find_passing_active_record_object_is_deprecated
55
end
56
57
def test_symbols_table_ref
58
+ gc_disabled = GC.disable
59
Post.where("author_id" => nil) # warm up
60
x = Symbol.all_symbols.count
61
Post.where("title" => {"xxxqqqq" => "bar"})
62
assert_equal x, Symbol.all_symbols.count
63
+ ensure
64
+ GC.enable if gc_disabled == false
65
66
67
# find should handle strings that come from URLs
0 commit comments