moved comments to the bottom, they are way less intrusive there

This commit is contained in:
Sam
2013-05-24 12:48:32 +10:00
parent 2cd95bc649
commit ca2dee52db
48 changed files with 748 additions and 706 deletions

View File

@ -1,3 +1,10 @@
class PostReply < ActiveRecord::Base
belongs_to :post
belongs_to :reply, class_name: 'Post'
validates_uniqueness_of :reply_id, scope: :post_id
end
# == Schema Information
#
# Table name: post_replies
@ -12,9 +19,3 @@
# index_post_replies_on_post_id_and_reply_id (post_id,reply_id) UNIQUE
#
class PostReply < ActiveRecord::Base
belongs_to :post
belongs_to :reply, class_name: 'Post'
validates_uniqueness_of :reply_id, scope: :post_id
end