Help with acts_as_audited


Hi everyone,

Im using the plugin acts_as_audited to audit my whole program, but i
have a problem, when the change is in a association table (has and
belongs to many) the change isnt captured by the plugin, anyone know
any fast hot fix to this?



Sounds like you may need to create a model over the associationlike

class CatDog < ActiveRecord::Base


You’ll probably need to extend your habtm table with an auto-increment
surrogate key so that acts_as_audited can play well with the “primary

Peter F.
(847) 687-7646
Email: removed_email_address@domain.invalid
IM GTalk: peter.fitzgibbons
IM Yahoo: pjfitzgibbons
IM MSN: removed_email_address@domain.invalid
IM AOL: removed_email_address@domain.invalid

On Sun, Feb 22, 2009 at 3:10 PM, Diego B. <