This project is archived and is in readonly mode.
Changeset [00dc8f77a2f9962d1bcd6267c63632bb39e6c547] by Jon Leighton
Revision 00dc8f77a2f9962d1bcd6267c63632bb39e6c547,
committed by Jon Leighton
· January 11th, 2011 @ 09:45 PM
For a singular association, it should be build_association,
rather than association.build (as association may be nil)
https://github.com/rails/rails/commit/00dc8f77a2f9962d1bcd6267c6363...
1 changed file
-
M
activerecord/lib/active_record/associations.rb