I may be wrong, but since JS is a client side language and Ruby is a 
server side language, won't all of the ruby code have been parsed before 
the JS array is ever even created?

-- Josh

David wrote:
> So it turns out the call myArray.toJSON() only converts the javascript
> array myArray to a string.  I have implemented a work around parse to
> convert the string into an array, but i was wondering if anyone knows
> of a JSON method to convert directly to a ruby array.  Maybe this
> would be faster?

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