1
0
Fork 0
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:
Paco Guzman 2011-03-18 11:29:52 +01:00
parent 3edba71895
commit f3666040a0

View file

@ -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)}"