Chao Lam

Working on the next small things …

leave a comment »

If you’re using the rails jquery autocomplete gem and mongoid, you need to specify the gem *after* the mongoid gem!

i.e. in your Gemfile

gem ‘mongoid’
….
gem ‘rails-jquery-autocomplete’

+++
Apparently, it checks whether mongoid is present before injecting some special mongoid methods!

Advertisements

Written by Chao

May 27, 2016 at 7:39 pm

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: