diff options
author | Alex Lin <ww2lin@gmail.com> | 2014-03-24 23:42:27 -0400 |
---|---|---|
committer | Alex Lin <ww2lin@gmail.com> | 2014-03-24 23:42:27 -0400 |
commit | c52df44784308e5d3cd608566fd9a3514ce28959 (patch) | |
tree | 4b833fd834fc082f943b9be931c91d2b6d5a81f7 /lib/arel/visitors/sqlite.rb | |
parent | 6d47c4cae51fe5fd04ef999de96f54138cae7f88 (diff) | |
download | rails-c52df44784308e5d3cd608566fd9a3514ce28959.tar.gz rails-c52df44784308e5d3cd608566fd9a3514ce28959.tar.bz2 rails-c52df44784308e5d3cd608566fd9a3514ce28959.zip |
Removed all the fiels in lib/arel/visitors/ which needs dependency on 'a' also fixed the test case for : test/visitors/test_to_sql.rb:22 which pass in the parameter attribute e.g the parameter a.
Diffstat (limited to 'lib/arel/visitors/sqlite.rb')
-rw-r--r-- | lib/arel/visitors/sqlite.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/sqlite.rb b/lib/arel/visitors/sqlite.rb index 07a18fc2f5..2a509e95b5 100644 --- a/lib/arel/visitors/sqlite.rb +++ b/lib/arel/visitors/sqlite.rb @@ -4,10 +4,10 @@ module Arel private # Locks are not supported in SQLite - def visit_Arel_Nodes_Lock o, a + def visit_Arel_Nodes_Lock o end - def visit_Arel_Nodes_SelectStatement o, a + def visit_Arel_Nodes_SelectStatement o o.limit = Arel::Nodes::Limit.new(-1) if o.offset && !o.limit super end |