Here is a test I set up: test "line breaks allowed for about_me" do puts create(:user, about_me: "foo\n\nbar").about_me.inspect puts create(:user, about_me: "foo\nbar").about_me.inspect end
The output is: >> nil >> "foo\nbar" So one line break is ok, but you put two and literally enters null into the database. Has anyone seen this before? I'm using Postgres' TEXT field. I'm doing no other escaping except what Sequel is doing under the hood. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/84eab514-6c78-43a0-bc25-d4085210dda4n%40googlegroups.com.
