José Valim
b2c2cb272f
Revert "Track Deprecation of :name_prefix in Rails 3 RC"
...
Let's wait until a new Rails 3 release is out before applying this to maintain compatibility with Rails 3 beta 4.
This reverts commit 21874d8559 .
2010-06-23 12:39:04 +02:00
José Valim
fccde42f20
Do not show model exist message on revoke behavior, closes #334
2010-06-23 12:39:04 +02:00
Jared Morgan
e90732c8c3
Remove #save! method from test DM User model
...
DM has a #save! method, so it's no longer needed. Having it call #save
caused #valid? to be called where tests were expecting validations to be
skipped.
2010-06-23 18:38:39 +08:00
bodhi
21874d8559
Track Deprecation of :name_prefix in Rails 3 RC
2010-06-23 14:56:01 +08:00
José Valim
cfadaf80a2
Merge with jm81 and snusnu datamapper forks.
2010-06-22 21:01:37 +02:00
José Valim
df444663ac
Bring datamapper Gemfile back.
2010-06-22 21:00:46 +02:00
Jared Morgan
5b63605c94
Add dm-serializer to Gemfile so DM models respond to #to_xml
...
Fixes 3 Missing template errors
2010-06-22 11:00:36 -05:00
José Valim
3660cbac30
Do not execute after initializers if production.
2010-06-21 14:07:58 +02:00
José Valim
92cf50454b
Add Rails 3 + Mongoid example to the README.
2010-06-20 01:29:53 -07:00
Postmodern
29ba790e07
Do not use ActiveRecord only methods in tests.
2010-06-19 17:30:10 -07:00
snusnu
4e2cd157c1
Specs surely don't pass, but they run at least!
2010-06-19 17:30:10 -07:00
snusnu
194959f312
Updated Gemfile to include DataMapper-1.0.0 (from git for now)
2010-06-19 17:30:10 -07:00
José Valim
e3b815de49
Bring encrypted password limit back.
2010-06-18 22:00:31 +02:00
José Valim
ac0105d15f
No need to limit password.
2010-06-17 00:36:09 -07:00
Carlos Antonio da Silva
7dbd2eac2a
Confirmable is not default anymore, so remove it from generated migration.
2010-06-17 01:57:42 -03:00
José Valim
025c3875b6
Update gemspec, closes #316 .
2010-06-13 21:48:43 +02:00
José Valim
f1a990c2ae
Do not show messages if eager loading to call help.
2010-06-13 13:34:49 +02:00
José Valim
1f4a31f1cf
Update generators to use Rails 3 syntax, i.e devise:install instead of devise_install.
2010-06-13 13:10:33 +02:00
José Valim
31910b85a2
Regenerate .gemspec
2010-06-13 12:40:40 +02:00
José Valim
5e1ef9319e
Check if the user is already signing out before timing out his connection, closes #273 .
2010-06-13 12:40:13 +02:00
José Valim
70a429d9ff
Split tests files a bit.
2010-06-13 12:11:15 +02:00
José Valim
f16d01869a
Rename apply_schema to apply_devise_schema and refactor Mongoid part a bit.
2010-06-13 11:48:45 +02:00
José Valim
290cfd1f72
Be more generic on TestHelpers.
2010-06-13 11:09:59 +02:00
José Valim
ed22295963
Fix a couple things based on community feedback (love ya!)
2010-06-13 10:51:46 +02:00
José Valim
a2f84852af
Allow the mailer class to be configured.
2010-06-12 20:56:55 +02:00
José Valim
c4a4032b6b
Use ActiveSupport::Dependencies.ref to abstract constant lookup logic.
2010-06-12 20:48:37 +02:00
José Valim
80895c3b9a
Make I18n key for mailer compatible with lookup shortcuts, closes #245
2010-06-12 20:29:43 +02:00
José Valim
84686d285c
Be more clear that Rails 2.3 users should use the v1.0 branch README.
2010-06-12 06:56:15 -07:00
José Valim
6c18c92598
Update gemspec.
2010-06-12 15:30:43 +02:00
José Valim
0333caeb92
Make bcrypt the default encryptor and automatically add a pepper on generation.
2010-06-12 14:46:55 +02:00
José Valim
bece09c653
Comment out datamapper scenario because it simply does not work currently.
2010-06-12 13:30:55 +02:00
SSDany
cd78a26f88
add #anybody_signed_in? to helpers
2010-06-12 05:11:04 +08:00
SSDany
5c9fe5e769
anybody_signed_in? helper
2010-06-12 05:11:03 +08:00
José Valim
fb0aec09f1
Talk about beta 4 in the README.
2010-06-11 09:10:36 -07:00
José Valim
5f2a19d784
Also need a klass reader.
2010-06-09 02:50:45 -07:00
José Valim
cc608f82dd
Properly check if devise method is present.
2010-06-09 02:50:28 -07:00
José Valim
7e784b258c
Update Devise generator error message.
2010-06-09 02:41:30 -07:00
José Valim
870912d458
beta 4 works, yay.
2010-06-09 01:27:38 +02:00
Lloyd Pick
f0c0f5f11b
fixed a few spelling/grammar mistakes
2010-05-28 20:24:39 +08:00
Antonio Tapiador del Dujo
7dc1842cc4
Add note about default routes in devise configuration
2010-05-25 18:58:20 +08:00
José Valim
28b10e397f
Update CHANGELOG
2010-05-25 00:03:03 +02:00
Alexander Uvarov
6ff77c9fdf
Add merb-auth like router helper
2010-05-25 05:51:32 +08:00
José Valim
d98882d745
Tidy up previous commit.
2010-05-24 22:50:25 +02:00
Joseph DelCioppio
80977c6dee
Added after_update_path to registrations controller. Users can now specify the path that their app should return to after updated a resource. If not specified it will return to the root, or the resource's root if specified.
2010-05-25 04:25:32 +08:00
José Valim
7c82d3ee67
Move the generator bit to the top.
2010-05-21 07:42:34 -07:00
José Valim
0150fddb4c
Depends on warden 0.10.5.
2010-05-20 01:24:11 +02:00
bodhi
c8ec42a41c
Update documentation to track deprecation of :as in #devise_for
2010-05-19 15:50:48 +08:00
José Valim
bff64a6291
Added navigational formats to specify when it should return a 302 and when a 401, closes #234 and #249 .
2010-05-16 19:13:38 +02:00
José Valim
a65fd873dd
Update CHANGELOG
2010-05-16 14:55:35 +02:00
Paul Rosania
592fa59e88
Automatically create the confirmation_token when email is sent for optionally confirmable models
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-16 14:54:05 +02:00