Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fisting indentation

  • Loading branch information...
commit 906ef233e4b41d5b9deae46b9c80cea47936bb0d 1 parent 4da32ba
Aaron Patterson tenderlove authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/relation/batches.rb
6 activerecord/lib/active_record/relation/batches.rb
View
@@ -50,9 +50,9 @@ def find_each(options = {})
def find_in_batches(options = {})
relation = self
- if orders.present? || taken.present?
- ActiveRecord::Base.logger.warn("Scoped order and limit are ignored, it's forced to be batch order and batch size")
- end
+ if orders.present? || taken.present?
+ ActiveRecord::Base.logger.warn("Scoped order and limit are ignored, it's forced to be batch order and batch size")
+ end
if (finder_options = options.except(:start, :batch_size)).present?
raise "You can't specify an order, it's forced to be #{batch_order}" if options[:order].present?
Please sign in to comment.
Something went wrong with that request. Please try again.