Displaying 1 result from an estimated 1 matches for "5bname".
Did you mean:
dbname
2006 Feb 13
1
autocomplete input field name
...#39;'show'', :id => @book
end
When I manually enter the right url with variabels (is it english?)
bookid and authorname it works, but when I use the form the name of the
autocomplete field is author[name] and the url it produces is:
http://localhost:3000/book/addauthor?author%5Bname%5D=a4&bookid=1&Submit=Submit
So I get an error and I cannot say @author =
Author.find_by_name(params[:author[name]])
All help is welcome,
With kind regards,
Alexander Ketelaar
alexander.ketelaar@gmail.com
--
Posted via http://www.ruby-forum.com/.