public
Description: My assistance repo w/ minor tweaks (original @ http://assistance.rubyforge.org/svn/trunk)
Homepage: http://assistance.rubyforge.org
Clone URL: git://github.com/bricooke/assistance.git
Search Repo:
bricooke (author)
Sat Mar 08 05:41:31 -0800 2008
commit  0330ed3c45c21c7893cc8b3d05924c2b9029c639
tree    beea1cca1ef838b467e0401e0712b3d7085d5b0c
parent  3b8c4fcebb0b2a76667ddc0e87ab7fb84cf14fad
name age message
folder .gitignore Sat Mar 08 05:41:31 -0800 2008 Added details about what I've done to the README [bricooke]
folder CHANGELOG Sat Feb 16 00:00:05 -0800 2008 Fixed .validates {each ...} to work correctly. [ciconia]
folder COPYING Mon Jan 07 23:33:17 -0800 2008 rake tasks, copyright notice. [ciconia]
folder README Sat Mar 08 05:41:31 -0800 2008 Added details about what I've done to the README [bricooke]
folder Rakefile Sat Feb 16 00:01:27 -0800 2008 Version 0.1.5. [ciconia]
folder TODO Thu Jan 10 09:39:07 -0800 2008 Imported #blank? from DataMapper. [ciconia]
folder lib/ Sat Mar 08 05:34:24 -0800 2008 Make the errors object enumerable. This was don... [bricooke]
folder spec/ Sat Mar 08 05:34:24 -0800 2008 Make the errors object enumerable. This was don... [bricooke]
README
Official assistance repo is in svn @ http://assistance.rubyforge.org/svn/trunk
See http://assistance.rubyforge.org

My changes (by branch name)
  + add_if_proc_to_validations
    allows you to write validates_presence_of :password, :if => lambda {|s| self.require_password?}
    status: Submitted patch via email
  
  + make_errors_enumerable
    Mixes Enumerable into Validations::Errors and provides .size and .each to errors. This was done for merb_helpers 
    error_messages_for
    status: Patch not submitted, awaiting response about previous patch