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.

Jamie Hill's latest activity

Wednesday, August 19 2009
3058 [PATCH] Sexy Validations was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 12:55 PM

    Can I get thoughts on publicising the new read_attribute_for_validation method as then this could be used in custom validators meaning they would be super-flexi...

  • Jamie Hill
    Jamie Hill commented at 12:51 PM

    I've just noticed that my email example validator was wrong too, should have been.

    class EmailValidator < ActiveRecord::Validator
      def validate
        field = op...
  • Jamie Hill
    Jamie Hill commented at 12:30 PM

    Ahh, good spot. It looks like I didn't add the 2 most important files which also include the documentation.

    Attached is the ACTUAL patch.

Sunday, August 16 2009
3058 [PATCH] Sexy Validations was updated in Ruby on Rails
Wednesday, August 05 2009
2936 [PATCH] Allow classes using validation to specify how attributes should be read was updated in Ruby on Rails
  • Jamie Hill
    Jamie Hill commented at 5:15 PM

    Thanks for getting back to me on this.

    Agreed on the name, new patch attached.

Wednesday, July 22 2009
2936 [PATCH] Allow classes using validation to specify how attributes should be read was updated in Ruby on Rails
  • Jamie Hill
    • Title changed from Allow classes using validation to specify how attributes should be read to [PATCH] Allow classes using validation to specify how attributes should be read
    by Jamie Hill at 12:33 PM
  • Jamie Hill
    • Assigned user set to Yehuda Katz (wycats)
    by Jamie Hill at 10:50 AM
  • Jamie Hill
    Jamie Hill created the ticket at 1:21 AM

    This patch adds a hook method to validations allowing a class to define how it's attributes should be acquired. This is useful should the class not use the defa...

2935 Allow classes using validation to specify how attributes should be read was created in Ruby on Rails
  • Jamie Hill
    Jamie Hill created the ticket at 1:13 AM

    This patch adds a hook method to validations allowing a class to define how it's attributes should be acquired. This is useful should the class not use the defa...