It turns out that taps version 0.2.16, which I think was released on April 29, fixes this problem.
On May 7, 1:05 pm, Michael Keenan <[email protected]> wrote: > Hey, I have this problem too and would love to hear a solution. My > workaround is to run this command in the heroku console... > > ActiveRecord::Base.connection.execute("update table_name set > field_name = REPLACE(field_name, '\\\\012', '\n');") > > ...but it would be much better to find out what's going wrong in the > db push. > > On Apr 21, 3:42 am, ngrandy <[email protected]> wrote: > > > hey folks, > > > having some trouble using taps to push a db: the newline characters in > > my text fields are being converted from '\n' to '\\012'. > > i've tried setting the encoding of my DB table to utf8, and using taps > > while specifying that encoding. that doesn't seem to help. > > > i've confirmed that this isn't just a relic of the heroku console: > > specifically, the size of the text field is larger after it is pushed. > > > anyone have any tips? > > apologies, encoding is not my strong suit. > > thanks, > > nick --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
