displaying contnet

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


simple_format(text) – http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#M001751


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..