mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
3e1c9e343c
Active Record changed it's public API, so we should check against its version instead of Rails as it is possible to use Rails 5.1 with Mongoid, which still has the older Dirty API. However, this patch does not fixes a scenario where an app has both Active Record and Mongoid loaded. It should be fixed by either normalizing the Mongoid/ActiveRecord API or replacing the conditional method definitions with a shim layer that abstracts this away. |
||
---|---|---|
.. | ||
controllers | ||
hooks | ||
mailers | ||
models | ||
omniauth | ||
orm | ||
rails | ||
strategies | ||
test | ||
delegator.rb | ||
encryptor.rb | ||
failure_app.rb | ||
mapping.rb | ||
models.rb | ||
modules.rb | ||
omniauth.rb | ||
parameter_filter.rb | ||
parameter_sanitizer.rb | ||
rails.rb | ||
test_helpers.rb | ||
time_inflector.rb | ||
token_generator.rb | ||
version.rb |