GitHub User: emclab
We are trying to make the sample code working on post and user (instead of product and category) with user has_many posts and a post belongs_to a user. However there is a network error below. (even when source: was changed to source: ["choice1", "choice2"] and data: (autocomplete_search :@users.map(&:name)} in view file
"NetworkError: 404 Not Found - http://localhost:3000/ajax/users?term=cha"
Any idea about fixing the error?
Here is the error running under 3.1.0. Can not figure out why. Any suggestions? thanks.
wrong number of arguments (1 for 0)
Application Trace | Framework Trace | Full Trace