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
José Valim ae6322efb5 No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope.
If you have non conventional routes and want to specify the scope for a controller, you can do that at the router level:

  as :user do
    get "/sign_in", :to => "devise/session#new"
  end

This is saying: when accessing "/sign_in", devise should use the user scope. Meaning that users signed through that form will be signed to the user scope.
2010-07-06 01:33:32 +02:00
..
controllers No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope. 2010-07-06 01:33:32 +02:00
encryptors Make bcrypt the default encryptor and automatically add a pepper on generation. 2010-06-12 14:46:55 +02:00
hooks Check if the user is already signing out before timing out his connection, closes #273. 2010-06-13 12:40:13 +02:00
models Improve docs on finders after taking a look at the wiki. 2010-07-05 19:11:37 +02:00
orm Remove data_mapper support. 2010-07-04 17:22:57 +02:00
rails No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope. 2010-07-06 01:33:32 +02:00
strategies Add tests to cookie domain, closes #254. 2010-05-16 14:13:56 +02:00
failure_app.rb Extract redirect_url from failure app to its own method. 2010-07-05 15:22:44 +02:00
mapping.rb No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope. 2010-07-06 01:33:32 +02:00
models.rb More more logic to Authenticatable. 2010-04-16 22:00:06 +02:00
modules.rb :activatable is included by default in your models. If you are building a strategy for devise, you now need to call validate(resource), since Devise has now a default API to validate resources before and after signing them in. You can still use other Warden::Strategies with Devise, but they won't work with a few modules like unlockable (they never did, but now we have a single point to make it work). 2010-04-06 16:34:22 +02:00
path_checker.rb Regenerate .gemspec 2010-06-13 12:40:40 +02:00
rails.rb Do not execute after initializers if production. 2010-06-21 14:07:58 +02:00
schema.rb Bring encrypted password limit back. 2010-06-18 22:00:31 +02:00
test_helpers.rb Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts, closes #341. 2010-06-29 11:52:10 +02:00
version.rb Bump version to 1.1.0 but do not release yet. We are only using this as flag for those using Devise as git with bundler due to the latest changes. 2010-07-04 17:34:33 +02:00