Sha256: d4af792c7c968a1a7abc34c97a8d38c583cb1723c0d172d9c080b6a7f72827c2

Contents?: true

Size: 196 Bytes

Versions: 2

Compression:

Stored size: 196 Bytes

Contents

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

  belongs_to :actuality, :person
  belongs_to :author, :foreign_key => 'person_id', :class_name => 'Person'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_cms-1.9.1 app/models/comment.rb
forgeos_cms-1.9.0 app/models/comment.rb