Class: ActiveAdmin::Annotations::Annotation
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ActiveAdmin::Annotations::Annotation
- Defined in:
- app/models/active_admin/annotations/annotation.rb
Class Method Summary collapse
- .ransackable_associations(_auth_object = nil) ⇒ Object
- .ransackable_attributes(_auth_object = nil) ⇒ Object
Class Method Details
.ransackable_associations(_auth_object = nil) ⇒ Object
19 20 21 |
# File 'app/models/active_admin/annotations/annotation.rb', line 19 def self.ransackable_associations(_auth_object = nil) %w[annotation_review] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
15 16 17 |
# File 'app/models/active_admin/annotations/annotation.rb', line 15 def self.ransackable_attributes(_auth_object = nil) %w[annotation_review_id field_name category comment created_at] end |