Sha256: 2d21a6b78d4f5909d30abb55c72429d09537fd4589de7c3b7f9457fc5d0c6975

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

class Project < ActiveRecord::Base
  belongs_to :user
  has_many :milestones
  has_many :tasks, through: :milestones

  attr_accessible :name, :summary
  validates_presence_of :name, :summary
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_application-0.3.1 spec/dummy/app/models/project.rb
active_application-0.3.0 spec/dummy/app/models/project.rb
active_application-0.2.0 spec/dummy/app/models/project.rb
active_application-0.1.0 spec/dummy/app/models/project.rb
active_application-0.0.1 spec/dummy/app/models/project.rb