diff options
author | Tekin Suleyman <tekin@tekin.co.uk> | 2008-11-06 20:00:54 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-11-07 07:50:23 +0000 |
commit | 26978e3ce84eda4e659fe9724e89c51efdd01781 (patch) | |
tree | 134eb4216958359245d57c3adea8589d233a263b | |
parent | 9d4337ea13be371fd3fbf3ca8ba467e810888c37 (diff) | |
download | rails-26978e3ce84eda4e659fe9724e89c51efdd01781.tar.gz rails-26978e3ce84eda4e659fe9724e89c51efdd01781.tar.bz2 rails-26978e3ce84eda4e659fe9724e89c51efdd01781.zip |
Added :counter_sql as a valid key for habtm associations
Signed-off-by: Michael Koziarski <michael@koziarski.com>
-rwxr-xr-x | 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 c7cb6eb966..7f7819115c 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1609,7 +1609,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 |