Ruby on Rails Thursday, May 31, 2012

Hi All
I need an solution that i should catch response and based
on some conditions i have to modify response body and send back to
client.

I have tried with a Middleware and got a solution.Can i use a
Middleware or simply one after_filter.
On performance wise which is best.Or is there any other ways to do it.

thanks in advance.

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment