Sha256: e2f632632065c2e8d22973db7d5dab80e092cd3fb30049b1254e23dab78273e5

Contents?: true

Size: 235 Bytes

Versions: 1

Compression:

Stored size: 235 Bytes

Contents

module Markable
  class Mark < ActiveRecord::Base
    belongs_to :markable, :polymorphic => true
    belongs_to :marker, :polymorphic => true

    attr_accessible :markable_id, :markable_type, :marker_id, :marker_type, :mark
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
markable-0.1.0 lib/models/mark.rb