Module: Hippo::Concerns::TrackModifications

Extended by:
ActiveSupport::Concern
Defined in:
lib/hippo/access/track_modifications.rb

Overview

Extends Rails updated_by and created_by timestamps to also track who created and updated the model. It reads the current user's id from User.current_id when saving and updating the record The class_name for the created_by and updated_by is set to Hippo::Configuration#user_model

Defined Under Namespace

Modules: ClassMethods