Class: ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ApplicationRecord
show all
- Defined in:
- app/models/application_record.rb
Direct Known Subclasses
BankAccount, Budget, Comment, Event, EventEmail, EventOrganizer, Payment, PostalAddress, Reimbursement, ReimbursementAttachment, ReimbursementLink, Request, RequestExpense, StateChange, TravelExpenseReport, User, UserProfile
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
|