diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 15:03:36 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 15:54:21 -0300 |
commit | cf01d01bd908d09e4638c85d49b92cb5c41c65a7 (patch) | |
tree | e6904c4fbda84bb548b4e80f2a70bf676b6ab825 /activerecord/test | |
parent | dc7ed96adc4e0b4c8a2cc524bbfc7172c007ca74 (diff) | |
download | rails-cf01d01bd908d09e4638c85d49b92cb5c41c65a7.tar.gz rails-cf01d01bd908d09e4638c85d49b92cb5c41c65a7.tar.bz2 rails-cf01d01bd908d09e4638c85d49b92cb5c41c65a7.zip |
Remove version conditional for calling GC.disable
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/finder_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb index 02dc5d3ad3..39308866ee 100644 --- a/activerecord/test/cases/finder_test.rb +++ b/activerecord/test/cases/finder_test.rb @@ -55,7 +55,7 @@ class FinderTest < ActiveRecord::TestCase end def test_symbols_table_ref - gc_disabled = GC.disable if RUBY_VERSION >= '2.2.0' + gc_disabled = GC.disable Post.where("author_id" => nil) # warm up x = Symbol.all_symbols.count Post.where("title" => {"xxxqqqq" => "bar"}) |