Hi folks, I've a Rails 2.3.2 app where I want to save some AR queries
of certain section of the app to the a DB table, so I've implemented
this with a custom Middleware and I've made some customizations to
some AR methods: http://gist.github.com/1198039
The problem is I'm getting 'stack level too deep' error and I can't
find the path to that infinite recursion. Is there a better way to
make this task?
Note: I know Rails 3 has a Notification Api, but I can't migrate all
the app to Rails 3 at the time.