Sha256: f4e56a04b3e8a38a7682a088ff4b4299232c42ad780b56eda2687c551889847b

Contents?: true

Size: 208 Bytes

Versions: 3

Compression:

Stored size: 208 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forgeos_cms-1.9.5.rc1 app/models/comment.rb
forgeos_cms-1.9.4 app/models/comment.rb
forgeos_cms-1.9.2 app/models/comment.rb