Is this your first visit? You may want to subscribe to the feed.

acts_as_audited in development

Thanks to metatribe, a huge annoyance in acts_as_audited is now fixed: it works in development mode. Due to it’s dependance on Rails’ cache sweepers, which are only enabled when caching is, acts_as_audited didn’t work in development mode.

metatribe has a crafty solution, which took me a few minutes to believe it would even work. So pull the latest version and happy auditing.

Code: acts_as_audited, plugin Oct 12, 2008 ● updated Oct 14, 2008 1 comment

1 comment

  1. Great change, however, when caching turned off in development mode, it records the changes to the audited model, but it does not record the user. With caching turned on, the user is recorded. (the User model is not being audited) Anything I can do to fix this?

    Tim Tim November 08, 2008 at 04:15 PM

Speak your mind:

*

*


* I hate spam and will never sell or publish your email address.

(You may use textile in your comments.)

Subscribe

Browse by Tag