Fix join string for the WHERE clause

This commit is contained in:
Pratik Naik
2010-01-02 03:20:52 +05:30
parent 689984ddd3
commit 498fddc714

View File

@@ -166,7 +166,7 @@ module ActiveRecord
end
end
def where_clause(join_string = "\n\tAND ")
def where_clause(join_string = " AND ")
@relation.send(:where_clauses).join(join_string)
end