Class: TaskType

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
ActiveDisablable
Defined in:
app/models/task_type.rb

Class Method Summary collapse

Methods included from ActiveDisablable

#destroy, #destroy_fully, #disable, #disabled?, #enable, #enabled?, included, #recovery

Class Method Details

.for_business(company_business) ⇒ Object



8
9
10
# File 'app/models/task_type.rb', line 8

def self.for_business(company_business)
  where(company_business_id:company_business.id)
end