Ruby on Rails Tuesday, November 25, 2014

Depends on what your data is used for.

If your data needs to be shared among sessions, local storage of html5 would be an option.
If not, global variable can meet your requirements. I guess.

On Wednesday, November 26, 2014 2:00:44 PM UTC+8, Ruby-Forum.com User wrote:
Hello,

   I have to store nested hashmap on client side, which is the best way
to store nested hashmap on client side. Values inside activerecord
change in client side. When submit button is pressed, hashmap has to be
sent to server through ajax.

regards,
Praveen

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2e833766-a189-465d-bd48-391c0d1a31c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment