diff options
author | Matthew Draper <matthew@trebex.net> | 2014-04-07 22:54:58 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2014-04-08 00:36:30 +0930 |
commit | c4bdca19a7a61eb12c75c4a3225e54b69b486a15 (patch) | |
tree | aee1a37d4138b1dcd4348a2231522b4c5c8317d8 /activerecord/test/cases/transactions_test.rb | |
parent | 67e67063a4a39530ec0f49d979edb7c2897b8280 (diff) | |
download | rails-c4bdca19a7a61eb12c75c4a3225e54b69b486a15.tar.gz rails-c4bdca19a7a61eb12c75c4a3225e54b69b486a15.tar.bz2 rails-c4bdca19a7a61eb12c75c4a3225e54b69b486a15.zip |
Use connection-specific bytea escaping
In our normal usage, it's rare for this to make a difference... but is
more technically correct.
As well as a spec that proves this is a good idea, let's also add a more
sane-looking one that just covers basic to_sql functionality. There
aren't many places where we actually use escape_bytea, but that's one
that won't be going away.
Diffstat (limited to 'activerecord/test/cases/transactions_test.rb')
0 files changed, 0 insertions, 0 deletions