提交 26978e3c 编写于 作者: T Tekin Suleyman 提交者: Michael Koziarski

Added :counter_sql as a valid key for habtm associations

Signed-off-by: NMichael Koziarski <michael@koziarski.com>
上级 9d4337ea
......@@ -1609,7 +1609,7 @@ def create_belongs_to_reflection(association_id, options)
:class_name, :table_name, :join_table, :foreign_key, :association_foreign_key,
:select, :conditions, :include, :order, :group, :limit, :offset,
:uniq,
:finder_sql, :delete_sql, :insert_sql,
:finder_sql, :counter_sql, :delete_sql, :insert_sql,
:before_add, :after_add, :before_remove, :after_remove,
:extend, :readonly,
:validate
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册