Class: ActiveAdmin::Annotations::Annotation

Inherits:
ApplicationRecord show all
Defined in:
app/models/active_admin/annotations/annotation.rb

Class Method Summary collapse

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