Class: Stay::PropertyType
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Stay::PropertyType
- Defined in:
- app/models/stay/property_type.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
11 12 13 |
# File 'app/models/stay/property_type.rb', line 11 def self.ransackable_associations(auth_object = nil) [] end |
.ransackable_attributes(auth_object = nil) ⇒ Object
7 8 9 |
# File 'app/models/stay/property_type.rb', line 7 def self.ransackable_attributes(auth_object = nil) %w[id name created_at updated_at] end |