gonzalo-bulnes / simple_token_authentication

Simple (and safe*) token authentication for Rails apps or API with Devise.
GNU General Public License v3.0
1.51k stars 238 forks source link

uninitialized constant SimpleTokenAuthentication::Adapters #352

Closed mberbero closed 5 years ago

mberbero commented 5 years ago

image image

gonzalo-bulnes commented 5 years ago

Hello @mberbero,

Does this still happen when you're not using Mongoid?

Why am I asking this?

If you feel like it, adding such a guard would be a appreciated contibution!

unused commented 5 years ago

Mongoid has not yet published a release that contains the PR to support rails 6.0. I'm happy to send a PR if they do and it does not break anything ;)

unused commented 5 years ago

@mberbero I've been testing it with rails 6.0 and mongoid#master, I did not figure out any problems yet I probably will not send it to production for any application until a stable mongoid release is provided.

gonzalo-bulnes commented 5 years ago

That would be amazing @unused! Please do, and don't hesitate to open it early on and ping me if you need help with anything : )

gonzalo-bulnes commented 5 years ago

@mberbero Simple Token Authentication v1.17.0 supports Mongoid with Rails 6! :confetti_ball:

The credit goes to @unused who kept track of the corresponding Mongoid release and made the necessary changes. : )