Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

The options paramter can now be left blank.

  • Loading branch information...
commit 571634b04c30b0455249ad9239e284e1e8aff49d 1 parent d989918
@tsmango authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/union.rb
View
2  lib/union.rb
@@ -3,7 +3,7 @@ class << self
# This simple implementation was extracted from
# ActiveRecord::Base .find, find_every and construct_finder_sql
- def union(parts, options)
+ def union(parts, options = {})
if parts.size >= 2
scope = scope(:find)
Please sign in to comment.
Something went wrong with that request. Please try again.