Class: Stay::PropertyType

Inherits:
ApplicationRecord show all
Defined in:
app/models/stay/property_type.rb

Class Method Summary collapse

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