This project is archived and is in readonly mode.

Changeset [00dc8f77a2f9962d1bcd6267c63632bb39e6c547] 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...

Committed by Jon Leighton

  • M activerecord/lib/active_record/associations.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>