Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Matt White's latest activity

Tuesday, August 11 2009
1837 PostgresSQLAdapter#unescape_bytea does not handle "\\" was updated in Ruby on Rails
  • Matt White
    Matt White commented at 10:16 PM

    Ugh, sorry for the hideous formatting.

    object.field = '\'
    => "\"
    puts object.field
    \
    object.save
    => true
    object.reload
    ...
    puts object.field
    => \\

  • Matt White
    • Tag changed from 2.2-stable, activerecord, bugmash, postgres, postgresql to 2.2-stable, 2.3-stable, activerecord, bugmash, postgres, postgresql
    by Matt White at 10:10 PM

    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...