indexes tags.name, :as => :tags
you have to write
indexes taggings.tag.name, :as => :tags
or you'll get too many results.
indexes tags.name, :as => :tags
indexes taggings.tag.name, :as => :tags
$("#post_tag_list").autoSuggest(...);
for the first time, you'll expect AS to do all the wow stuff on the client side and have the original input field with the values as a parameter back on the server side, right?asHtmlID: "tag_list"
option in the autoSuggest
parameters, but (since that option actually defines the id's suffix only) you'll have to patch your controller allong the lines of:before_filter :autosuggest_fix
def autosuggest_fix
params[:post][:tag_list] = params[:as_values_tag_list] if params[:post]
end
{{if typeof $item.data.optional_field == "number"}}...{{/if}}
==
accordingly)