Nathan Colgate Clark
2005-Jul-11 19:54 UTC
accessing an alternate controller from text_field_with_auto_complete
Afternoon, I''m attempting to add a "tag" auto complete text field to my Movies ''edit'' view. :controller => ''movies'', :action => ''edit'', id => 39>I''d like add tags to this movie, and I''d like to draw from existing tags in the database to avoid small typos or something. However, the text_field_with_auto_complete is not allowing me to access the tags controller. When the method passes the url variable, it only passes the action, not the controller. it assumes you want to use the same controller. { :url => { :action => "auto_complete_for_#{object}_#{method}" } }>Can this be remedied? -- Nathan Colgate Clark Web Developer _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails