Displaying 1 result from an estimated 1 matches for "_matches".
Did you mean:
matches
2005 Dec 18
1
problems with text_field_with_autocomplete
...e
def handle_autocompletion (value)
puts "VALUE = #{value}"
@results = []
thing = {"foo" => "bar"}
@results.push(thing)
render :partial => "matches", :layout => false
end
Here''s the partial (app/views/topic/_matches.rhtml):
<ul>
nothing
</ul>
If I hit http://localhost:3000/topic/tester/foo, I see the word
"nothing". So I know the partial is rendered correctly in that case.
However, when I hit http://localhost:3000/topic/observer, I think that
I ought to see the word "nothing&quo...