Permalink
Browse files

The options paramter can now be left blank.

  • Loading branch information...
1 parent d989918 commit 571634b04c30b0455249ad9239e284e1e8aff49d @tsmango committed Feb 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/union.rb
View
@@ -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)

0 comments on commit 571634b

Please sign in to comment.