Displaying 1 result from an estimated 1 matches for "auto_complete_for_topic_dr_title".
2005 Dec 18
1
problems with text_field_with_autocomplete
...itle,
{}, :skip_style => true %><br/>
Here''s the handler, it''s just faked up for now. I don''t care about the
actual search at this point, just want to show that the partial
rendering is not working:
file: app/controllers/topic_controller.rb:
def auto_complete_for_topic_dr_title
handle_autocompletion (params[:topic][:dr_title])
end
def tester
handle_autocompletion(params[:id])
end
private
def handle_autocompletion (value)
puts "VALUE = #{value}"
@results = []
thing = {"foo" => "bar"}
@results.pus...