2 options I can think of:

#1 - change the message of each to "must be selected." It's not perfect, 
but the intent of the message is clear.

#2 - define your own validations using errors.add_to_base. See here for 
an example:
http://guides.rails.info/activerecord_validations_callbacks.html#errorsadd-to-base

So, for example, you might try something like:

validate :academy_is_selected

def academy_is_selected
  errors.add_to_base("You must select an Academy") if 
self.academy.blank?
end
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to