On Tue, Mar 3, 2009 at 8:27 AM, Sudhi Kulkarni
<[email protected]> wrote:
> 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?

params[:content].split("\r\n") works for me.  Post more code.



-- 
Greg Donald
http://destiney.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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to