José Valim
efc0ae230a
Deprecate :all.
2010-01-13 19:45:24 +01:00
Marcelo Silveira
9c4ddc6465
- Maximum attempts changed from 5 to 20
...
- Lockable is not turned on by default
- Fixed lockable incompatibilities with latest commits
2010-01-09 11:41:28 -02:00
Marcelo Silveira
32991e13c4
Merge and fix conflicts.
2010-01-09 11:22:27 -02:00
José Valim
4d8f5ea165
Add an easy way to configure an application to sign in users through "/sign_in".
...
First, configure your routes:
map.devise_for :users
map.sign_in "/sign_in", :controller => "sessions", :action => "new"
Then, in config/initializers/devise.rb:
config.use_default_scope = true
The default scope is always the first declaration in routes.rb, but if you need
to change it, you can also do it through the initializer:
config.default_scope = :user
2010-01-06 14:31:00 +01:00
Marcelo Silveira
d2fa737aa0
introducing lockable implementation
2010-01-01 17:57:35 -02:00
José Valim
0819f87255
Test different ORMs
2009-12-21 15:29:58 +01:00
José Valim
e1c2e45f97
Extract Activatable from Confirmable, so if you need to active your account through other means, you can still do so and ensure cherry pick works as expected.
2009-12-20 13:53:53 +01:00
José Valim
2d772733e7
Allow Inflections to work.
2009-12-02 17:51:34 -02:00
José Valim
f1cecacc99
Move mappings to routes.
2009-10-12 21:49:51 -03:00
José Valim
e50dfcc73f
More specs.
2009-10-12 09:56:12 -03:00
José Valim
3c5bfc9520
Kick tests back to life.
2009-10-12 08:37:28 -03:00
José Valim
bd8f7dc631
Some major changes.
2009-10-11 22:11:58 -03:00
Carlos A. da Silva
198167d978
Removing default mapping and Updating tests at all
2009-10-10 18:07:25 -03:00
Carlos A. da Silva
f4de0f6c5a
Creating Devise.map to generate and recognize urls based on scope.
2009-10-09 21:11:58 -03:00
Carlos A. da Silva
7ce49cbbe8
Configuring session and password controllers as engine, and getting integration tests from devise example app.
2009-10-09 07:36:12 -03:00