Sha256: 08aeb70c0a061fca53d48e788426d51f8d9e5b6cddde631af30b2b370b5de662

Contents?: true

Size: 135 Bytes

Versions: 2

Compression:

Stored size: 135 Bytes

Contents

class Comment < ActiveRecord::Base
  belongs_to  :commentable, :polymorphic => true
  belongs_to  :commenter, :polymorphic => true
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
pluginaweek-polymorphic_identity-0.1.0 test/app_root/app/models/comment.rb
polymorphic_identity-0.1.1 test/app_root/app/models/comment.rb