> mysql will trim trailing whitespace from varchar columns, although it
> sounds like you are talking about leading whitespace.

Interesting, thanks, hmmm, well it is mysql, yes and yes it's leading 
whitespace but the column type here (in my migration) is either "text" 
or "string", can't remember but I think I went for "text" as this is 
potentially a longer piece of writing.

It does smack of the DB doing something "behind the scenes" actually - 
any tips to stop it doing any trimming of whitespace - I could test 
that?

Actually it could be new line of carriage returns that are being 
trimmed.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to