ambition/app/models/projects_user.rb

7 lines
141 B
Ruby
Raw Normal View History

2016-12-27 20:15:05 +08:00
class Projects_user < ActiveRecord:: Base
2016-12-26 12:13:59 +08:00
validates :project_id, presence: true
validates :user_id, presence: true
end