How to get acts_as_audited to work with Rails 2 Dec 11

The audit.rb file in the great acts_as_audited plugin requires acts_as_list, which in Rails 2 is now a plugin. So install the acts_as_list plugin, then add the following to environment.rb:

config.plugins = [:acts_as_list, :all]

This will force rails to load acts_as_list before acts_as_audited and everything will work well...

2 comments

2 comments

Brian Doll Apr 11 2008

Just spreading the word... According to the changelog, acts_as_audited no longer relies on acts_as_list. The change was made just 5 days after this blog post :)

Patrick Crosby Apr 11 2008

Brian: Thanks for the update...I had no idea!

Add a comment

Name (required)
Email (won't be displayed)
URL (include http://)
Comment (required)