Permalink
Browse files

Merge pull request #6390 from ernie/invalid-ruby18-syntax-in-habtm

Invalid ruby18 syntax in habtm
  • Loading branch information...
2 parents 855fabc + 3b444ee commit 8ad8f61b3f20af106798731144487de40facb25c @rafaelfranca rafaelfranca committed May 18, 2012
@@ -52,8 +52,8 @@ def delete_records(records, method)
unless records == :all
condition = condition.and(
- relation[reflection.association_foreign_key]
- .in(records.map { |x| x.id }.compact)
+ relation[reflection.association_foreign_key].
+ in(records.map { |x| x.id }.compact)
)
end

0 comments on commit 8ad8f61

Please sign in to comment.