Hello all,
I'm still fairly new to RoR. Had a question related to a form's text field data. Given a blog model for example, with fields: title, date and body. If I were to type a full body's worth of text with line breaks and such, much like I am doing now within this message field of the post. How would I be able to preserve the original typed in format without resorting to the use of the <pre> html element within the view template or having to input data in the field using <p> and <br> html elements?
I tried to glean off any information from the "Blog in 15 mins" railscast @ rubyonrails.org, but David only posted one sentence data in each body field. So nothing much to go on there.
-Neon