rails/rails — pull request #11693 by egilburg (2013-08-01 05:23:31+00:00)
Title: Minor optimization and code cleanup in query_methods.rb

Minor optimization and code cleanup in query_methods.rb

- Use symbols rather than strings where possible to avoid extra object construction
- Use destructive methods where possible to avoid extra object construction
- Use array union rather than concat followed by uniq
- Use shorthand block syntax where possible
- Use consistent multiline block styles, method names, method parenteses style, and spacing