Sha256: b0f202e66a7b027c6385ec09ea9012a3351504f6eb81ac811d1c6dda22b79492

Contents?: true

Size: 153 Bytes

Versions: 2

Compression:

Stored size: 153 Bytes

Contents

class Comment < ActiveRecord::Base
  attr_accessible :commentable_id, :commentable_type, :content
  
  belongs_to :commentable, :polymorphic => true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_admin-0.3.0 spec/dummy_app/app/active_record/comment.rb
rails_admin-0.2.0 spec/dummy_app/app/active_record/comment.rb