discourse/app/models/post_onebox_render.rb

7 lines
157 B
Ruby
Raw Normal View History

2013-02-06 03:16:51 +08:00
class PostOneboxRender < ActiveRecord::Base
belongs_to :post
belongs_to :onebox_render
validates_uniqueness_of :post_id, scope: :onebox_render_id
end