1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Get rid of the visit select hack

This commit is contained in:
Jean Boussier 2014-04-10 13:30:22 -04:00
parent 214af49646
commit 4a898b3c68

View file

@ -156,7 +156,7 @@ module Arel
manager.columns << table[:id]
manager.columns << table[:name]
manager.to_sql.must_be_like %{
INSERT INTO "users" ("id", "name") SELECT 1, "aaron"
INSERT INTO "users" ("id", "name") (SELECT 1, "aaron")
}
end