Displaying 1 result from an estimated 1 matches for "institution_link".
2007 Jan 25
2
text_field_with_auto_complete problem
...search) unless search.blank?
render :partial => "live/search"
end
Then I have a partial called _live.rhtml, which contains:
<ul class="autocomplete_list">
<% for institution in @institutions.to_a -%>
<li class="autocomplete_item"><%= institution_link institution.name,
institution %></li>
<% end -%>
</ul>
--
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 t...