aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/uuid_test.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-11-09 11:09:20 +0100
committerYves Senn <yves.senn@gmail.com>2013-11-09 11:23:34 +0100
commit97f0d9a0dd12e7ad634815eecfeff866f64aad92 (patch)
tree4460993ee3f45d113496d27dbc4f7f516bbbd9df /activerecord/test/cases/adapters/postgresql/uuid_test.rb
parent3cc64df92eef6f1aec240851474f041b27d80ff6 (diff)
downloadrails-97f0d9a0dd12e7ad634815eecfeff866f64aad92.tar.gz
rails-97f0d9a0dd12e7ad634815eecfeff866f64aad92.tar.bz2
rails-97f0d9a0dd12e7ad634815eecfeff866f64aad92.zip
log bind variables after they were type casted.
The log output used to be confusing in situation where type casting has "unexpected" effects. For example when finding records with a `String`. BEFORE: irb(main):002:0> Event.find("im-no-integer") D, [2013-11-09T11:10:28.998857 #1706] DEBUG -- : Event Load (4.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", "im-no-integer"]] AFTER: irb(main):002:0> Event.find("im-no-integer") D, [2013-11-09T11:10:28.998857 #1706] DEBUG -- : Event Load (4.5ms) SELECT "events".* FROM "events" WHERE "events"."id" = $1 LIMIT 1 [["id", 0]]
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/uuid_test.rb')
0 files changed, 0 insertions, 0 deletions