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 [f8b7c74f9b7b0e9b76c03953275d98378cb1d139] by Jason Cheow

Revision f8b7c74f9b7b0e9b76c03953275d98378cb1d139, committed by Jason Cheow · November 14th, 2010 @ 05:37 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/f8b7c74f9b7b0e9b76c03953275d9...

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