Module: Decidim::Traceable
- Extended by:
- ActiveSupport::Concern
- Included in:
- Area, AreaType, Attachment, AttachmentCollection, Authorization, Categorization, Category, Component, ContextualHelpSection, Moderation, Newsletter, OAuthApplication, Organization, Scope, ScopeType, StaticPage, User, UserGroup, UserModeration
- Defined in:
- lib/decidim/traceable.rb
Overview
A concern that adds traceabilty capability to the given model. Including this allows you the keep track of changes in the model attributes and changes authorship.
Example:
class MyModel < ApplicationRecord
include Decidim::Traceable
end