added post mod details

This commit is contained in:
albert
2010-02-24 12:18:32 -05:00
parent 9f05154a5a
commit 96c6afd482
14 changed files with 533 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ class Post < ActiveRecord::Base
belongs_to :updater, :class_name => "User"
has_one :unapproval, :dependent => :destroy
has_one :upload, :dependent => :destroy
has_one :moderation_detail, :class_name => "PostModerationDetail", :dependent => :destroy
has_many :versions, :class_name => "PostVersion", :dependent => :destroy
has_many :votes, :class_name => "PostVote", :dependent => :destroy
attr_accessible :source, :rating, :tag_string, :old_tag_string, :updater_id, :updater_ip_addr