I need to pass a parameter in my text_field_with_auto_complete and am
struggling to discover how to do this. I have something like this:

<%= text_field_with_auto_complete 'user', 'username', {}, {:with =>
"'post='@company_title.id"} %>

but because it is in a partial that pops as a result from a
remote_function_tag, I am having trouble seeing the html to know if this
is even working. In any event, it is not giving me back what I want.

Is there a way to pass parameters to the auto_complete_for method?

Thanks,

-S
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to