Skip to content

Commit

Permalink
build_where should be private
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Sep 30, 2010
1 parent 7e73344 commit b0b2d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activerecord/lib/active_record/relation/query_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ def build_arel
arel
end

private

def build_where(opts, other = [])
case opts
when String, Array
Expand All @@ -209,8 +211,6 @@ def build_where(opts, other = [])
end
end

private

def build_joins(relation, joins)
association_joins = []

Expand Down

0 comments on commit b0b2d41

Please sign in to comment.