Class: ApplicationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/application_record.rb

Class Method Summary collapse

Class Method Details

.ransackable_associations(_auth_object) ⇒ Object



11
12
13
# File 'app/models/application_record.rb', line 11

def ransackable_associations(_auth_object)
  []
end

.ransackable_attributes(_auth_object) ⇒ Object



7
8
9
# File 'app/models/application_record.rb', line 7

def ransackable_attributes(_auth_object)
  super & %w[id end_date start_date name description event_id state]
end