crowdint / rails3-jquery-autocomplete

An easy and unobtrusive way to use jQuery's autocomplete with Rails 3

Home Page:http://rubygems.org/gems/rails3-jquery-autocomplete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working without Mongoid

dzjuck opened this issue · comments

Current version generate exception when app did not require 'Mongoid' gem.

NameError (uninitialized constant Rails3JQueryAutocomplete::Autocomplete::ClassMethods::Mongoid):
/Users/ilavrov/.bundler/ruby/2.0.0/rails3-jquery-autocomplete-554dbb2e8b19/lib/rails3-jquery-autocomplete/autocomplete.rb:44

Fixed by #281

Thanks for the pull request.