Correct display of a string...

Posted by Jamal Abdul Nasir on Stack Overflow See other posts from Stack Overflow or by Jamal Abdul Nasir
Published on 2010-06-11T07:34:37Z Indexed on 2010/06/11 7:43 UTC
Read the original article Hit count: 278

Filed under:
  • How to display a string in correct format as i enter it in the textarea in ruby on rails?

  • actually i enter some string in the textarea as:
    my name
    is jamal.

  • now there is a next line starting after name... but i get the following in the view...
    my name is jamal

  • which i don't want to be like that... so, how to get the correct format..?

  • i hope u understand...

© Stack Overflow or respective owner

Related posts about ruby-on-rails