Hi guys,
I''m a little stumped on how to get the output from a HAML generated
list "= render :text => @providers.map(&:name)" called by the
application.js
$(document).ready( function(){
$( ''#user_provider_name'' ).autocomplete({
url: ''/providers.js''
});
});
into listed format ie.
test_01
test_02
test_03
currently the output is:
["test_02", "test_01",
"test_03",
"test"]
which is shown as one string in the drop down box under the text
field ..
it seems to me the the autocomplete isn''t getting the data thus the
lack of format
my devbox is running
ruby:
interpreter: "ruby"
version: "1.9.2dev"
date: "2010-07-11"
platform: "i686-linux"
patchlevel: "2010-07-11 revision 28618"
full_version: "ruby 1.9.2dev (2010-07-11 revision 28618) [i686-
linux]"
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.