Just thought I'd share an insight we had into using acts_as_audited with ActiveScaffold.
We were getting 500 errors whenever we created or edited an audited object, because AS was trying to use a partial subform for the "audits" column which had been dynamically associated by acts_as_audited. When it couldn't find it, it choked. Our workaround was to simply exclude the audits column from any of the models that were being audited. active_scaffold :organisation do |config| config.list.columns = [:name, :code, :state, :country, :logo] config.columns.exclude :created_at, :updated_at, :audits end Hope this helps someone that needs to do this too... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
