Jeroen van Doorn
2006-Sep-13 06:40 UTC
Ticket #4795: ARs in the session have their associations persisted as well
(Duplicate, last message ended up in a wrong thread, sorry!) Hi all, I have a question about the following ticket. The patch provided on this ticket fixes the problem (for me). Despite this fact, I don''t see this code in the trunk. Can someone tell me why this is? Another thing is that I tried to override this function in the lib directory, with the patch applied, but somehow, it still uses the old code. I wanted to fix my problem in a clean way by overriding the actioncontroller module. But I can''t get it working. And hacking a gem myself isn''t a long term solution. Thanks in advance, Jeroen van Doorn --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jeremy Kemper
2006-Sep-13 07:05 UTC
Re: Ticket #4795: ARs in the session have their associations persisted as well
On 9/12/06, Jeroen van Doorn <jeroen.vandoorn-E86FVO77t+q01JO4HPFPPA@public.gmane.org> wrote:> > I have a question about the following ticket. The patch provided on this > ticket fixes the problem (for me). Despite this fact, I don''t see this > code in the trunk. Can someone tell me why this is?The patch does not include unit tests verifying the correct behavior. Please reopen the ticket with an updated patch. jeremy --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
derkaan74-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2006-Sep-13 11:03 UTC
Re: Ticket #4795: ARs in the session have their associations persisted as well
Hi, If you don''t use GET-Parameters, then I would suggest to use page caching. AFAIK Rails will create a HTML file for the first request and will this newly created HTML for all requests after the first one. ### class MyController < ApplicationController caches_page :myAction ### derkaan --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jeroen van Doorn
2006-Sep-13 12:25 UTC
Re: Ticket #4795: ARs in the session have their associations persisted as well
I don''t think this fixes the problem. I''ll try to free some time to test the patch. Jeroen derkaan74-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org schreef:> Hi, > > If you don''t use GET-Parameters, then I would suggest to use page > caching. AFAIK Rails will create a HTML file for the first request and > will this newly created HTML for all requests after the first one. > ### > class MyController < ApplicationController > caches_page :myAction > ### > > > derkaan > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---