Open h8rry opened 9 years ago
+1
Yeah, would be great if the gem supports mongoid.
+1, Yes would be great.
Here is an attempt #502 by @ThibaudD.
+1
include this in your gemfile
gem 'rails', '~> 5.1.4'
gem 'mongoid', '~> 6.2', '>= 6.2.1'
gem 'devise_token_auth', git: 'https://github.com/BunHouth/devise_token_auth.git', branch: 'mongoid'
gem 'mongoid-locker', '~> 0.3.4'
run bundle install
and follow master branch configuration. it works for me.
Very interesting @kirykr .
Looks like there's an open PR, but it's not related to @bonhouth? https://github.com/lynndylanhurley/devise_token_auth/pull/502
I Tweeted at @bonhouth to see if he'd consider PRing his approach, if it works that well. https://twitter.com/zachfeldman/status/917422457572773895
Are you guys planning to provide support for Mongodb / Mongoid?