This project is archived and is in readonly mode.

#985 ✓resolved
Hongli Lai

Make the options that has_many, belongs_to and other association generation methods, configurable

Reported by Hongli Lai | September 6th, 2008 @ 05:43 PM

I'm writing a plugin which hooks into 'has_many', 'belongs_to' and other association generation methods. It extends these methods with new options that can be accepted.

The attached patch makes the list of acceptable options configurable, so that the plugin doesn't have to monkeypatch so much.

Is this simple enough to make it into 2.2?

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

Attachments