mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove bank line
This commit is contained in:
parent
3edba71895
commit
f3666040a0
1 changed files with 0 additions and 1 deletions
|
@ -237,7 +237,6 @@ module ActiveRecord
|
||||||
# add_limit_offset!('SELECT * FROM suppliers', {:limit => 10, :offset => 50})
|
# add_limit_offset!('SELECT * FROM suppliers', {:limit => 10, :offset => 50})
|
||||||
# generates
|
# generates
|
||||||
# SELECT * FROM suppliers LIMIT 10 OFFSET 50
|
# SELECT * FROM suppliers LIMIT 10 OFFSET 50
|
||||||
|
|
||||||
def add_limit_offset!(sql, options)
|
def add_limit_offset!(sql, options)
|
||||||
if limit = options[:limit]
|
if limit = options[:limit]
|
||||||
sql << " LIMIT #{sanitize_limit(limit)}"
|
sql << " LIMIT #{sanitize_limit(limit)}"
|
||||||
|
|
Loading…
Reference in a new issue