Class: UserActionAuditLog

Inherits:
UserAuditLog show all
Defined in:
lib/app/models/user_action_audit_log.rb

Overview

Keep track of User Actions

Constant Summary

Constants inherited from AuditLog

AuditLog::ALL_ACTIONS, AuditLog::CREATE_ACTION, AuditLog::DELETE_ACTION, AuditLog::UPDATE_ACTION

Instance Method Summary collapse

Methods inherited from UserAuditLog

#user_name

Methods inherited from AuditLog

sort_order

Methods included from SearchAble

#after_search_text, #before_search_text, included, #method_missing, #respond_to?, #respond_to_missing?, #sort_fields, #update_search_and_sort_text, #update_text

Methods included from StandardModel

#audit_action, #auto_strip_attributes, #capture_user_info, #clear_cache, #created_by_display_name, #delete_and_log, #destroy_and_log, included, #last_modified_by_display_name, #log_change, #log_deletion, #remove_blank_secure_fields, #save_and_log, #save_and_log!, #secure_fields, #update, #update!, #update_and_log, #update_and_log!

Methods included from App47Logger

clean_params, #clean_params, delete_parameter_keys, #log_controller_error, log_debug, #log_debug, log_error, #log_error, log_exception, #log_message, log_message, #log_warn, log_warn, mask_parameter_keys, #update_flash_messages

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class SearchAble

Instance Method Details

#search_fieldsObject



16
17
18
# File 'lib/app/models/user_action_audit_log.rb', line 16

def search_fields
  %w[name action response_code request_ip request_agent] + super
end