search for: disc_jockeys_count

Displaying 1 result from an estimated 1 matches for "disc_jockeys_count".

2006 Feb 01
0
habtm and counter (xxx_count field in DB)
...Members that are part of this DJ profile has_and_belongs_to_many :members, :join_table => ''members_are_disc_jockeys'', :uniq => true end I tried to add such a xxx_count field to have a counter cache, so I added the field disc_jockeys_count to the members table. But sadly this doesn''t become updated when adding a DJ object to a member... What''s wrong? Thanks. Josh -- Posted via http://www.ruby-forum.com/.