mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 11:37:19 +08:00
minor cleanup, using AR querying DSL over raw SQL in some places
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
class PostReply < ActiveRecord::Base
|
||||
|
||||
belongs_to :post
|
||||
belongs_to :reply, class_name: 'Post'
|
||||
|
||||
|
Reference in New Issue
Block a user