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.

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

#985

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?

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

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Jeremy Kemper
    Jeremy Kemper
    • State changed from new to open
    • Milestone cleared.

    September 9th, 2008 @ 08:46 PM

  2. Repository
    Repository
    • State changed from open to resolved

    (from [16929404417205792165153958ce5effa0b54645]) Make the options that has_many, belongs_to and other association generation methods can accept, configurable.

    [#985 Make the options that has_many, belongs_to and other association generation m... state:resolved]

    Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

    September 9th, 2008 @ 08:51 PM