class Project

Schema Information

Table name: projects

id         :integer         not null, primary key
guid       :string(36)      not null
name       :string(255)     not null
status_id  :integer         default(1), not null
created_at :datetime        not null
updated_at :datetime        not null

Constants

STATUSES

Attributes

default_team[RW]

Public Instance Methods

default_team=(id) click to toggle source
# File app/models/project.rb, line 34
def default_team=(id)
  self.team_ids = [id]
end
to_param() click to toggle source
# File app/models/project.rb, line 38
def to_param
  self.guid
end