search for: autocomplete_item

Displaying 4 results from an estimated 4 matches for "autocomplete_item".

2006 Jan 04
1
Autocomplete howto?
...h_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 called @dealings. I''m not familiar with autocomplete, but that looks like it might be a...
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
2006 Jun 21
0
text_field_with_auto_complete broken in firefox?
...<< "owner1" @owners << "owner2" render :partial => ''owners'' end def testpage render :layout=>false end _owners.rhtml: <ul class="owners"> <% for owner in @owners do -%> <li class="autocomplete_item"> owner </li> <% end -%> </ul> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060621/4570d498/attachment.html
2007 Jan 25
2
text_field_with_auto_complete problem
...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/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on R...