Sha256: a6bf2c57a24b9122666b6b6f3eba9889cba77460963be91d0f250b7905bd3707

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

module Competition
  class ScoreEntry < ActiveRecord::Base
    attr_accessible :amount, :score_id, :score_entryable_type, :score_entryable_id
    belongs_to :score, :class_name => "Competition::Score"
    belongs_to :score_entryable, :polymorphic => true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Competition-0.0.2 app/models/competition/score_entry.rb