Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix join string for the WHERE clause

  • Loading branch information...
commit 498fddc714f66d5f6f9152910853ce355f059397 1 parent 689984d
@lifo lifo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/relation.rb
View
2  activerecord/lib/active_record/relation.rb
@@ -166,7 +166,7 @@ def method_missing(method, *args, &block)
end
end
- def where_clause(join_string = "\n\tAND ")
+ def where_clause(join_string = " AND ")
@relation.send(:where_clauses).join(join_string)
end
Please sign in to comment.
Something went wrong with that request. Please try again.