Sha256: f6fd28d1b1e3d0ecf1e706586c751b8ded7cec5154bc4ab1da1de5ac3bf8a608

Contents?: true

Size: 118 Bytes

Versions: 2

Compression:

Stored size: 118 Bytes

Contents

class League < ActiveRecord::Base
  validates_presence_of(:name)

  has_many(:divisions)
  has_many(:teams)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
merb-admin-0.8.5 spec/models/activerecord/league.rb
merb-admin-0.8.3 spec/models/activerecord/league.rb