Sha256: b12702adbd41a83abe76f90080d70ec7ce55962d249045c7854ecc55f71ad17c

Contents?: true

Size: 266 Bytes

Versions: 33

Compression:

Stored size: 266 Bytes

Contents

# The migration for a play in the plugin creates a useless play. Subclass play and create a migration
# appropriate to your sub-type, and use single-table inheritance to fill out the play.
class Play < ActiveRecord::Base
    belongs_to :game
    belongs_to :team
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
sports_db-0.2.19 app/models/play.rb
sports_db-0.2.18 app/models/play.rb
sports_db-0.2.17 app/models/play.rb
sports_db-0.2.16 app/models/play.rb
sports_db-0.2.15 app/models/play.rb
sports_db-0.2.14 app/models/play.rb
sports_db-0.2.13 app/models/play.rb
sports_db-0.2.12 app/models/play.rb
sports_db-0.2.11 app/models/play.rb
sports_db-0.2.10 app/models/play.rb
sports_db-0.2.9 app/models/play.rb
sports_db-0.2.8 app/models/play.rb
sports_db-0.2.7 app/models/play.rb
sports_db-0.2.6 app/models/play.rb
sports_db-0.2.5 app/models/play.rb
sports_db-0.2.4 app/models/play.rb
sports_db-0.2.3 app/models/play.rb
sports_db-0.2.2 app/models/play.rb
sports_db-0.2.1 app/models/play.rb
sports_db-0.2 app/models/play.rb