From cbbe9ed392bfe146fc0871653aad9b619cef8509 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Sun, 7 Jan 2018 23:43:51 +0000 Subject: BigDecimal.new is deprecated in Ruby 2.5 Refer https://github.com/ruby/bigdecimal/pull/86 --- test/visitors/test_to_sql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/visitors') diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb index 77756b9e99..4416a11b8d 100644 --- a/test/visitors/test_to_sql.rb +++ b/test/visitors/test_to_sql.rb @@ -233,7 +233,7 @@ module Arel end it "should visit_BigDecimal" do - compile Nodes.build_quoted(BigDecimal.new('2.14')) + compile Nodes.build_quoted(BigDecimal('2.14')) end it "should visit_Date" do -- cgit v1.2.3