Sha256: f84ecdcf28b84a87d0154b6e235ed024c3269fcd31c1440bc1b27c293af2a577
Contents?: true
Size: 489 Bytes
Versions: 1
Compression:
Stored size: 489 Bytes
Contents
# == Schema Information # # Table name: project_organizations # # id :integer not null, primary key # project_id :integer not null # organization_id :integer not null # created_at :datetime # updated_at :datetime # class ProjectOrganization < ActiveRecord::Base belongs_to :project belongs_to :organization validates :project, presence: true validates :organization, presence: true, uniqueness: { scope: :project } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
self_systeem-0.1.0 | test/dummy_app/app/models/project_organization.rb |