Skip to content

Commit

Permalink
Added :counter_sql as a valid key for habtm associations
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Koziarski <michael@koziarski.com>
  • Loading branch information
tekin authored and NZKoz committed Nov 7, 2008
1 parent 9d4337e commit 26978e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations.rb
Expand Up @@ -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
Expand Down

0 comments on commit 26978e3

Please sign in to comment.