提交 3db24161 编写于 作者: A Anshul Sharma

[ci skip] Make merge method nodoc

上级 38148903
......@@ -13,14 +13,7 @@ def initialize(relation, hash)
@hash = hash
end
# It allows to do a join, and filter by a scope on the joined model:
# class Account < ActiveRecord::Base
# # Returns all the accounts that have unread messages.
# def self.with_unread_messages
# joins(:messages).merge( Message.unread )
# end
# end
def merge
def merge #:nodoc:
Merger.new(relation, other).merge
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册