Sha256: b82e601ac8ba5d0d8df6df8c49d4cdc287279421570f5447d54e2020bcd6f9e5

Contents?: true

Size: 151 Bytes

Versions: 33

Compression:

Stored size: 151 Bytes

Contents

class Participant < ActiveRecord::Base
    belongs_to :game
    belongs_to :team
    
    scope :home, :conditions => ['home_team = ?', true]
    
end

Version data entries

33 entries across 33 versions & 1 rubygems

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