From edb9d0ef4211859b466faaf9de8305ddc5cd113e Mon Sep 17 00:00:00 2001 From: Ernie Miller Date: Wed, 24 Sep 2008 09:24:17 -0400 Subject: [PATCH] Added :counter_sql as a valid key for habtm associations --- activerecord/lib/active_record/associations.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 3f8ec4d..d4e4db5 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1602,7 +1602,7 @@ module ActiveRecord :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 -- 1.5.6.1062.g7b17c