diff options
author | Dylan Markow <dylan@dylanmarkow.com> | 2013-06-07 17:36:37 -0500 |
---|---|---|
committer | Dylan Markow <dylan@dylanmarkow.com> | 2013-06-19 11:03:40 -0500 |
commit | 78f6268977d80f3e6dcb916dd185ef046caf8586 (patch) | |
tree | 5c5e7f4c676bfbfd71b64d2a593401259507a8c2 /activerecord/lib/active_record/fixture_set | |
parent | 2b763131eacaae5bff9ffb5015fbf367d594dc64 (diff) | |
download | rails-78f6268977d80f3e6dcb916dd185ef046caf8586.tar.gz rails-78f6268977d80f3e6dcb916dd185ef046caf8586.tar.bz2 rails-78f6268977d80f3e6dcb916dd185ef046caf8586.zip |
Handle single quotes in PostgreSQL default column values
PostgreSQL escapes single quotes by using an additional single quote.
When Rails queries the column information, PostgreSQL returns the
default values with the escaped single quotes.
#extract_value_from_default now converts these to one single quote each.
Fixes #10881.
Diffstat (limited to 'activerecord/lib/active_record/fixture_set')
0 files changed, 0 insertions, 0 deletions