diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2014-05-05 23:10:38 +0900 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2014-05-05 23:12:33 +0900 |
commit | 801a1516d0a219ce530a45f0a2e65a35b04c30eb (patch) | |
tree | fee6c79ab9ab0d62be9ae13b1c959d4716ac3bc0 /lib | |
parent | e7461065c5dc79191f98027efbf9a65dcd84f7b1 (diff) | |
download | rails-801a1516d0a219ce530a45f0a2e65a35b04c30eb.tar.gz rails-801a1516d0a219ce530a45f0a2e65a35b04c30eb.tar.bz2 rails-801a1516d0a219ce530a45f0a2e65a35b04c30eb.zip |
Support to add the casting node to the AST at build time
Ref https://github.com/rails/arel/commit/93d72131bcc24ccb5536bec672d2dac94f8de651
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/visitors/oracle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/oracle.rb b/lib/arel/visitors/oracle.rb index 699b52fe9a..8a80faaa97 100644 --- a/lib/arel/visitors/oracle.rb +++ b/lib/arel/visitors/oracle.rb @@ -17,7 +17,7 @@ module Arel if o.limit && o.offset o = o.dup - limit = o.limit.expr.to_i + limit = o.limit.expr.expr offset = o.offset o.offset = nil collector << " |