search for: camper_already_attend

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

2006 Feb 08
1
Weird validation issue
...end but that had exactly the same effect. Interestingly enough, it got through the code to the exact same point as it would if it had actually added the camper to the booking. Looking at the DB, the camper record was there but didn''t have anything for contact_id or booking_id. if !camper_already_attending && @contact.save && @camper.valid? && (@camper.contact = @contact) # (Yes, that last equal should definitely be a single one!) unless @booking.contactslist.include?( @contact.id ) # Need to add a role of "SU Camper" to the contact here ca...