I’m able to duplicate everything in Ryan B.’ screencast on jQueryUI
except for the piece that calls the server for completion data.
Here is my view html:
Now, this coffeescript works…
source: [‘foo’, ‘food’, ‘four’]
…whereas, this coffeescript trying to tap the server…
…results in http POST calls to the root and not the
data-autocomplete-source value of ‘/searches’.
Bates’s railscast uses a textfield in the context of a RESTful form, but
don’t expect this difference between his code and mine should explain my