Forum: Ruby on Rails HELP ON MY VALIDATION

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Newb N. (Guest)
on 2009-05-30 09:38
I use text field with auto complete for my authority_name field which
will be fetched from userinfo table and the field name is login.

Authority Name ------------
<%=text_field_with_auto_complete :userinfo, :login%>

this authority name will be stored in company table.
what my problem is i want to validate the above auto complete field...
i tried the validates presence of it gets me error.
i could not use as   <%=f.text_field_with_auto_complete :userinfo,
what is the reason..pls guide me...on the validation

This topic is locked and can not be replied to.