hi all, i am using text filed to store the database using textarea. i have entered the data line by line. while displaying also i want to display the content line by line but when i gave like this record.methodname itts giving in a single line how to do this -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Rajkumar, simple_format(text) – http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001751 /Lasse 2010/3/27 Rajkumar Surabhi <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>> hi all, > > i am using text filed to store the database using textarea. i have > entered the data line by line. while displaying also i want to display > the content line by line but when i gave like this record.methodname > itts giving in a single line > > how to do this > -- > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
i have use tiny mce and by using this it is creating code <p> 1st line </p> <p> 2nd line </p> and it is showing accordingly.. thanks On Mar 27, 3:57 pm, Rajkumar Surabhi <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> hi all, > > i am using text filed to store the database using textarea. i have > entered the data line by line. while displaying also i want to display > the content line by line but when i gave like this record.methodname > itts giving in a single line > > how to do this > -- > Posted viahttp://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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.