method
sanitize_limit
sanitize_limit(limit)
public
Hide source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 117 def sanitize_limit(limit) limit.to_s[/,/] ? limit.split(',').map{ |i| i.to_i }.join(',') : limit.to_i end