Rails - Whitespace added to content of textarea on save

Posted by Jake on Stack Overflow See other posts from Stack Overflow or by Jake
Published on 2010-04-12T15:23:16Z Indexed on 2010/04/12 15:43 UTC
Read the original article Hit count: 367

Filed under:

I'm trying provide a textarea for the user to enter javascript. Each time the form is saved more whitespace is appended throughout the content. Any ideas how to ensure this doesn't happen?

Using Rails

© Stack Overflow or respective owner

Related posts about ruby-on-rails