search for: school_typ

Displaying 2 results from an estimated 2 matches for "school_typ".

Did you mean: school_type
2006 Feb 08
1
Weird validation issue
...issue. Validation isn''t working for certain attributes and, for some reason, it''s also affecting things outside of validation. For campers on certain camp types, we require some information about their school. I tried to validate the information this way: validates_presence_of :school_type, :if => Proc.new { |c| !c.booking.nil? and ( c.booking.camp.camptype == Camptype.find(:first, :conditions => [ ''name = ?'', "Children''s Camp"]) or c.booking.camp.camptype == Camptype.find(:first, :conditions => [ ''name = ?'', ''...
2008 Apr 10
3
Custom Form Builder Help
Hello All, We use a different custom form builder for our app, but I wanted to use facebooker''s typeahead widget in side the other form builder. I don''t know much about form builders, but I created a file in lib/ doing this: http://pastie.caboo.se/178776 It works great, except that the id''s and class names get messed up. Instead of school_name, I get