search for: autocomplete_list

Displaying 3 results from an estimated 3 matches for "autocomplete_list".

2006 Jan 04
1
Autocomplete howto?
...org wrote: >def auto_complete_for_dealing_which_store > search = params[:dealing][:which_store] > @stores = Dealing.search(search) unless search.blank? > render :partial => ''live_search'' >end > >and my entire partial: ><ul class="autocomplete_list"> ><% for deal in @dealings.to_a %> ><li class="autocomplete_item"><%= link deal.which_store, deal %></li> ><% end %> ></ul> It looks like you''re assigning to a variable @stores, but trying to read from a variable cal...
2006 Jan 03
5
Pagination Question
Hi - I''ve just started working with Rails, having come from a Cold Fusion background. I''m curious how best to deal with a huge result set. For example, I''m building an app that contains users. I''ve used scaffolding to setup my initial pages for CRUD operations on users. All that is great. The problem is, I''m going to end up with 1000+ users in
2007 Jan 25
2
text_field_with_auto_complete problem
...ce end def auto_complete_for_institution_names search = params[:institution][:names] breakpoint @institutions = Institution.search(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/. --~--~---------~--~----~------------~--...