Displaying 1 result from an estimated 1 matches for "particular_error".
2006 Feb 08
1
Weird validation issue
...king.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 is already full.''...