Class: Dscf::Credit::LoanApplication
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Credit::LoanApplication
- Includes:
- Dscf::Core::AuditableModel, Dscf::Core::ReviewableModel
- Defined in:
- app/models/dscf/credit/loan_application.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
28 29 30 |
# File 'app/models/dscf/credit/loan_application.rb', line 28 def self.ransackable_associations(auth_object = nil) %w[bank user backer review_branch credit_product loan_profile loan_application_data reviews audit_logs] end |
.ransackable_attributes(auth_object = nil) ⇒ Object
24 25 26 |
# File 'app/models/dscf/credit/loan_application.rb', line 24 def self.ransackable_attributes(auth_object = nil) %w[id bank_statement_source score created_at updated_at] end |