Sounds like you may need to create a model over the associationlike
cats_dogs.rb:
class CatDog < ActiveRecord::Base
...
end
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
key"
Peter Fitzgibbons
(847) 687-7646
Email: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
IM GTalk: peter.fitzgibbons
IM Yahoo: pjfitzgibbons
IM MSN: pjfitzgibbons-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org
IM AOL: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
On Sun, Feb 22, 2009 at 3:10 PM, Diego Bernardes <
rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
>
> 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?
>
> Thanks!
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---