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.

darkliquid's latest activity

Friday, August 21 2009
3058 [PATCH] Sexy Validations was updated in Ruby on Rails
  • darkliquid
    darkliquid commented at 3:43 PM

    +1 from me as well.

    There is one possible minor issue which I doubt would actually cause any problems. Since a hash is being used to specify validations, those ...

Wednesday, August 19 2009
3077 ActiveRecord::Validator should be ActiveModel::Validator was created in Ruby on Rails
  • darkliquid
    darkliquid created the ticket at 4:25 PM

    Given the push to keep everything modular and the fact that validations have been mostly extracted from active record, having this validator base class in the a...

3058 [PATCH] Sexy Validations was updated in Ruby on Rails
  • darkliquid
    darkliquid commented at 4:16 PM

    Rather than using the registration hooks, I take you are proposing a something that takes the validation names and just constantizes them into validator classes...

  • darkliquid
    darkliquid commented at 12:17 PM

    Your patch seems to be missing your 'validates' class method, so your example doesn't actually work.

    A rough idea of the top of my head is that you meant to inc...

Monday, July 27 2009
2936 [PATCH] Allow classes using validation to specify how attributes should be read was updated in Ruby on Rails
  • darkliquid
    darkliquid commented at 12:04 PM

    +1

    This certainly makes reuse of the Validation system in isolation from the rest of the rails framework a little easier since you don't have the restriction of...