[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511351: ITP: libvalidates-existance-ruby -- Ruby plugin adding validates_existence_of method to ActiveRecord::Base.



Package: wnpp
Severity: wishlist
Owner: Richard Hurt <rnhurt@kangaroobox.com>


* Package name    : libvalidates-existance-ruby
  Version         : 0.1
  Upstream Author : Josh Susser <josh (at) hasmanythrough (dot) com>
* URL             : http://blog.hasmanythrough.com/2007/7/14/validate-your-existence 
* License         : MIT/X
  Programming Lang: Ruby
  Description     : Ruby plugin adding validates_existence_of method to ActiveRecord::Base.

 The validates_existence_of validator checks that a foreign key in a belongs_to
 association points to an exisiting record. If :allow_nil => true, then the key
 itself may be nil. A non-nil key requires that the foreign object must exist.
 Works with polymorphic belongs_to.
 .
 ValidatesExistance is aimed at being used from the Ruby on Rails framework.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: all



Reply to: