Use audited to track investment changes
Our manual implementation had a few issues. In particular, it didn't track changes related to associations, which became more of an issue when we made investments translatable. Using audited gives us more functionality while at the same time simplifies our code. However, it adds one more external dependency to our project. The reason for choosing audited over paper trail is audited seems to make it easier to handle associations.
This commit is contained in:
@@ -250,7 +250,7 @@ namespace :admin do
|
||||
get "download_settings/:resource", to: "download_settings#edit", as: "edit_download_settings"
|
||||
put "download_settings/:resource", to: "download_settings#update", as: "update_download_settings"
|
||||
|
||||
get "/change_log/:id", to: "budget_investments#show_investment_log", as: "change_log"
|
||||
get "/admin/audits/:id", to: "budget_investments#audit", as: "audit"
|
||||
|
||||
resources :local_census_records
|
||||
namespace :local_census_records do
|
||||
|
||||
Reference in New Issue
Block a user