mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
remove bank line
This commit is contained in:
@@ -237,7 +237,6 @@ module ActiveRecord
|
||||
# add_limit_offset!('SELECT * FROM suppliers', {:limit => 10, :offset => 50})
|
||||
# generates
|
||||
# SELECT * FROM suppliers LIMIT 10 OFFSET 50
|
||||
|
||||
def add_limit_offset!(sql, options)
|
||||
if limit = options[:limit]
|
||||
sql << " LIMIT #{sanitize_limit(limit)}"
|
||||
|
||||
Reference in New Issue
Block a user