mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix join string for the WHERE clause
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user