aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/column_alias_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-02-11 14:41:11 +0100
committerYves Senn <yves.senn@gmail.com>2014-02-26 14:20:14 +0100
commitcfb22381451b8984c57f3be2bd39819a0e8ad858 (patch)
tree1cd9ad8528a3969607496d297fe468977ff9f162 /activerecord/test/cases/column_alias_test.rb
parent89b4b51fdca4fb3994f6c5398a6fa1205cf1fd25 (diff)
downloadrails-cfb22381451b8984c57f3be2bd39819a0e8ad858.tar.gz
rails-cfb22381451b8984c57f3be2bd39819a0e8ad858.tar.bz2
rails-cfb22381451b8984c57f3be2bd39819a0e8ad858.zip
test case for custom PostgreSQL enum type.
This test currently outputs the following warning: ``` unknown OID: current_mood(3567879) (SELECT "postgresql_enums".* FROM "postgresql_enums" ORDER BY "postgresql_enums"."id" ASC LIMIT 1) unknown OID: current_mood(3567879) (SELECT "postgresql_enums".* FROM "postgresql_enums" WHERE "postgresql_enums"."id" = $1 LIMIT 1) ``` We have an open PR to deal with this issue. It will dynamically register the OID for enum columns. This test case is merely to exhibit the current behavior of PostgreSQL enum columns.
Diffstat (limited to 'activerecord/test/cases/column_alias_test.rb')
0 files changed, 0 insertions, 0 deletions