1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/lib/devise
Lucas Mazza 3e1c9e343c
Add Devise.activerecord51?
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.
2017-05-10 17:09:38 -03:00
..
controllers Remove deprecated omniauth path from store_location docs [ci skip] 2016-07-26 10:10:49 -03:00
hooks Reduce ORM API surface 2016-07-13 12:48:12 -04:00
mailers Merge pull request #4193 from 3wille/master 2016-07-22 15:14:51 -03:00
models Add Devise.activerecord51? 2017-05-10 17:09:38 -03:00
omniauth Remove deprecated OmniAuth URL helpers. 2016-05-03 18:32:56 -03:00
orm Use ActiveSupport.on_load to hook into Active Record and Mongoid. 2016-06-27 14:55:22 -03:00
rails fix small typo 2016-07-18 23:46:51 -07:00
strategies Fix remember me always extending the period 2016-04-15 20:28:46 -03:00
test Use strip_heredoc for deprecation warnings 2016-09-04 19:15:09 +09:00
delegator.rb Fix taking associated failure app from the scope in the given env. 2011-12-07 14:09:00 +02:00
encryptor.rb Change encryption for hashing in the documentation. 2016-02-10 17:10:52 -02:00
failure_app.rb Fix typos in failure_app comments 2016-08-15 15:51:11 -04:00
mapping.rb Allow objects to specify their devise scope. 2015-03-03 22:37:25 -07:00
models.rb fix name of the module in the docs 2017-01-19 13:03:10 +01:00
modules.rb Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
omniauth.rb Fix indent, remove not used variable 2012-05-15 17:22:52 -03:00
parameter_filter.rb Rename ParamFilter to ParameterFilter for consistency 2013-06-19 09:17:54 +02:00
parameter_sanitizer.rb Remove deprecated ParameterSanitizer API. 2016-05-03 18:32:47 -03:00
rails.rb Make reloading of routes optional 2016-04-21 00:10:17 -03:00
test_helpers.rb Use strip_heredoc for deprecation warnings 2016-09-04 19:15:09 +09:00
time_inflector.rb Updated ruby 1.9 hash syntax 2014-02-25 22:12:55 +05:30
token_generator.rb Remove KeyGenerator implementation ported from Rails 4.x. 2015-12-18 14:49:50 -02:00
version.rb Prepare for 4.3.0 release. 2017-05-10 16:50:40 -03:00