Sha256: de74f98dc3b96bd685b43f7275266cff35d7ebbbb2ba27eb329430df9cdb25de

Contents?: true

Size: 246 Bytes

Versions: 39

Compression:

Stored size: 246 Bytes

Contents

class Team < AbstractAdapter
  belongs_to :project
  belongs_to :creator, class_name: 'User'

  has_many :team_users, inverse_of: :team
  has_many :users, through: :team_users
  accepts_nested_attributes_for :team_users, allow_destroy: true

end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
introspective_grape-0.2.8 spec/dummy/app/models/team.rb
introspective_grape-0.2.7 spec/dummy/app/models/team.rb
introspective_grape-0.2.6 spec/dummy/app/models/team.rb
introspective_grape-0.2.5 spec/dummy/app/models/team.rb
introspective_grape-0.2.4 spec/dummy/app/models/team.rb
introspective_grape-0.2.3 spec/dummy/app/models/team.rb
introspective_grape-0.2.2 spec/dummy/app/models/team.rb
introspective_grape-0.2.0 spec/dummy/app/models/team.rb
introspective_grape-0.1.9 spec/dummy/app/models/team.rb
introspective_admin-0.0.8 spec/dummy/app/models/team.rb
introspective_admin-0.0.7 spec/dummy/app/models/team.rb
introspective_admin-0.0.6 spec/dummy/app/models/team.rb
introspective_admin-0.0.5 spec/dummy/app/models/team.rb
introspective_grape-0.0.4 spec/dummy/app/models/team.rb
introspective_grape-0.0.3 spec/dummy/app/models/team.rb
introspective_admin-0.0.4 spec/dummy/app/models/team.rb
introspective_admin-0.0.3 spec/dummy/app/models/team.rb
introspective_admin-0.0.2 spec/dummy/app/models/team.rb
introspective_admin-0.0.1 spec/dummy/app/models/team.rb