Class: Comee::Core::Supplier
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Comee::Core::Supplier
- Defined in:
- app/models/comee/core/supplier.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
16 17 18 |
# File 'app/models/comee/core/supplier.rb', line 16 def self.ransackable_associations(_auth_object = nil) %w[user] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
12 13 14 |
# File 'app/models/comee/core/supplier.rb', line 12 def self.ransackable_attributes(_auth_object = nil) %w[id user_id code name address locale] end |