dave4c03-QCUsDIA/pEqe8kRwQpwjMg@public.gmane.org
2010-Jun-01 02:53 UTC
Is there a way to obtain the body of the last render?
Is there a way to obtain the response body of the last render in Rails3 beta3? For example, given: render :action=>''aaa'', :layout=>''bbb'' I had thought something like @_current_render would work but it did not, it is nil. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
MrBanabas-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
2010-Jun-01 16:38 UTC
Re: Is there a way to obtain the body of the last render?
What about response_body? -- Volker dave4c03-QCUsDIA/pEqe8kRwQpwjMg@public.gmane.org schrieb:> Is there a way to obtain the response body of the last render in > Rails3 beta3? > > For example, given: > render :action=>''aaa'', :layout=>''bbb'' > > I had thought something like @_current_render would work but it did > not, it is nil.-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.