Matt White
Not a member
Matt White's latest activity
Tuesday, August 11 2009
1837
PostgresSQLAdapter#unescape_bytea does not handle "\\"
was updated
in Ruby on Rails
-
Matt White commented at 10:16 PMUgh, sorry for the hideous formatting.
object.field = '\'
=> "\"
puts object.field
\
object.save
=> true
object.reload
...
puts object.field
=> \\ -
- Tag changed from 2.2-stable, activerecord, bugmash, postgres, postgresql to 2.2-stable, 2.3-stable, activerecord, bugmash, postgres, postgresql
This absolutely IS a problem on Rails 2.3.2 and postgres gem 0.7.9.2008.01.28 (using PostgreSQL 8.3.5). Perhaps it is fixed in edge (haven't checked yet). It se...