collab/app/models/project.rb

5 lines
87 B
Ruby

class Project < ActiveRecord::Base
has_many :tasks
validates_presence_of :name
end