Forum: Ruby on Rails Ruby Postgres Adapter Issue

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Skeets (Guest)
on 2006-12-31 01:42
(Received via mailing list)
fyi...

i'm working through the o'reilly cookbook tutorial using migrations and
postgresql.

i'm using this pgsql adapter for winxp...

http://www.vandomburg.net/pages/postgres-ruby-windows

i'm using edge rails with the latest svn version.

i experienced some unexpected behavior.

whenever i display a text column in the edit screen, it adds 4 spaces
before displaying the text.  it then creates a return and 2 more
spaces.  if i update again, i get  more pre spaces (total: 8) and an
additional second return with 2 more spaces.  this behavior will
repeat.

the extra spaces are added into the database, too.

i emailed the author of the software - i think i did, anyway.  he
doesn't have his email address on the site and i used his first name @
domain name as the address.
Skeets (Guest)
on 2007-01-07 21:23
(Received via mailing list)
my code (copy and pasted) was actually inserting this extra
information.  the adapter isn't the issue.  sorry for the false alarm
here.
This topic is locked and can not be replied to.