crowdint/rails3-jquery-autocomplete — pull request #264 by danielfarrell (2014-03-19 17:21:27+00:00)
Title: 1.0.13 broken for Mongoid, items is not an array

The `items` that get passed in here is a Mongoid criteria. So, doing a collect! on it does not update it and was causing the data to just be a to_json of the objects, breaking autocomplete. This change is a lot more flexible for different types of objects getting passed in.