I am a newbie to rails and have a problem to solve. I have textarea
which provides as input
I want this content to be split into an array using “\r\n” as the
I tried to do the split directly on params[:content].split("\r\n") but
got an error which says called a private method of HASH.
I convert params[:content].to_s then I guess my \r\n’s are lost.
How do I get this split working?