Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [93c9f4a942c622ecbe8d46ab4838bd072aef9fc0] by Jason Cheow

Revision 93c9f4a942c622ecbe8d46ab4838bd072aef9fc0, committed by Jason Cheow · November 14th, 2010 @ 05:32 PM

Fix bug where size of through association is not correct after adding a has_many association (occurs only before main object has been reloaded).

[#5968 state:committed]

Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/93c9f4a942c622ecbe8d46ab4838b...

2 changed files

  • M activerecord/lib/active_record/associations/has_many_through_association.rb
  • M activerecord/test/cases/associations/has_many_through_associations_test.rb