search for: camper_ad

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

2006 Feb 08
1
Weird validation issue
...ingle one!) unless @booking.contactslist.include?( @contact.id ) # Need to add a role of "SU Camper" to the contact here camper_role = Role.find(:first, :conditions => "name = ''SU Camper''") @contact.add_role(camper_role) camper_added = false particular_error = '''' if @booking.camp.camptype == Camptype.find(:first, :conditions => [ ''name = ?'', ''Parenting Camp'' ] ) if @booking.campers.size == 2 particular_error = ''The booking...