search for: strict_address_required

Displaying 1 result from an estimated 1 matches for "strict_address_required".

2006 Oct 11
1
Polymorphic Validations
Hi Everyone, Ran into an interesting case last night, and I was hoping that someone on the list here could give me some guidance. I''ve got a Polymorphic association for Addresses (which can belong to two different models). The catch is, one model requires a strict, precise address, and the other only requires a City, State and Postal Code. I want to use :validates_presence_of :street,