José Valim
6cc32db2dd
Add lock_strategy.
2010-03-31 11:54:11 +02:00
José Valim
e04c5ba977
More work with unlock_strategy equals to none.
2010-03-30 01:58:06 +02:00
José Valim
81926c2cd2
Allow :unlock_strategy to be :none.
2010-03-30 00:07:11 +02:00
José Valim
7d14f0bbb9
Allow several authentications to share a common path.
2010-03-29 23:44:47 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
Jacques Crocker
6d31e368bf
Use persisted? instead of new_record?
...
In order to be more ActiveModel compliant, lets use persisted? whereever we can. Particularly for datamapper, new_record? causes api warnings. Better to stick to the ActiveModel api I think.
2010-03-28 20:53:13 -07:00
José Valim
2a082f3e4c
Fix some unlockable bugs.
2010-03-28 23:09:28 +02:00
José Valim
ac742e3271
Clean up lockable and class methods API.
2010-03-10 16:13:54 +01:00
José Valim
691f9324f5
Use ActiveSupport::Concern.
2010-02-17 12:35:38 +01:00
José Valim
02e8c04cde
Update views generator and now have scoped views.
2010-02-17 12:26:54 +01:00
José Valim
e6e66481b8
Got all tests in test/models and failure app ones passing. 369 tests, 805 assertions, 13 failures, 2 errors.
2010-02-16 17:00:36 +01:00
José Valim
766316b5e7
Got tests running on Rails 3: 369 tests, 486 assertions, 45 failures, 124 errors.
2010-02-16 14:31:49 +01:00
Carlos Antonio da Silva
658059f31a
Bring Devise::ALL back to modules and improving lockable docs.
2010-02-04 20:09:53 -02:00
Carlos Antonio da Silva
21359fb433
Refactoring a bit models and lockable. Also remove devise :all deprecation.
2010-02-04 20:09:53 -02:00
José Valim
d4442837d5
Clean up whitespace and remove deprecated stuff.
2010-01-13 18:23:04 +01:00
Marcelo Silveira
827d0ce14c
refactoring attempts track to avoid saving the model twice
2010-01-09 13:12:24 -02:00
Marcelo Silveira
d2fa737aa0
introducing lockable implementation
2010-01-01 17:57:35 -02:00