This project is archived and is in readonly mode.

#1087 ✓committed
Hongli Lai

Add 'extra_conditions' parameter to configure_dependency_for_has_many and make generated callbacks use transactions

Reported by Hongli Lai | September 21st, 2008 @ 10:57 PM | in 2.x

The attached patch:

  1. Adds an 'extra_conditions' parameter to configure_dependency_for_has_many. I need this as a plugin hook.

  2. Makes the generated before_destroy callback methods run in transactions. This is also a plugin hook that I need.

Comments and changes to this ticket

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>

People watching this ticket

Referenced by

Pages