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.

[PATCH] Add validators reflection

#3991

This patch will add #validators and #validators_on(:attribute) to ActiveModel. The list of validators will be added when calling validates_with with validator class.

Reported by Prem Sichanugrist (sikachu) · February 18th, 2010 @ 04:43 PM

State: committed
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Prem Sichanugrist (sikachu)
    Prem Sichanugrist (sikachu)

    I've modify the patch to use those class_attribute instead. Please use this patch instead.

    February 18th, 2010 @ 07:41 PM

  2. José Valim
    José Valim
    • State changed from open to committed

    Thank you!

    February 21st, 2010 @ 11:43 AM

  3. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM