Class: ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ApplicationRecord
- Includes:
- Searchable, Taggable
- Defined in:
- app/models/application_record.rb,
lib/pixelforce_kit/spec_helper.rb
Direct Known Subclasses
Ahoy::Event, Ahoy::Visit, Tag, TagAttachable, TagCategory, User
Class Method Summary collapse
Class Method Details
.attach_user_id_to_admin_activity? ⇒ Boolean
7 8 9 |
# File 'app/models/application_record.rb', line 7 def attach_user_id_to_admin_activity? column_names.include?('user_id') || name == 'User' end |