I tried using the flash message, but the data that I need to pass is 
huge. so, I get a cookie overflow error.
This technique did not work out for me. Is there anything else I could 
use?
I just recalled that render_component is deprecated in 2.2.2 and a 
plug-in has to be used to get the same functionality.
Is there any way out?

Srividya Sharma wrote:
> I tried render_component, it seems to be slow.
> Thanks a lot. I will give this a try.
> 
> Bharat Ruparel wrote:
>> 1.  place where you want to save your hash:
>> 
>> flash[:my_hash] = some_hash
>> 
>> 2.  place where you want retrieve your saved hash in flash:
>> 
>> this_hash = flash[:my_hash]
>> 
>> Now this_hash has your saved data.
>> 
>> Bharat

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