José Valim
8978bd4fe0
Merge pull request #2479 from djmaze/patch-1
...
Update code example for #update_without_password
2013-06-25 02:30:41 -07:00
Martin Honermeyer
5926898cf4
Update code example for #update_without_password
2013-06-25 11:27:35 +02:00
José Valim
5717c6f082
Splat args to be sanitized
2013-06-19 10:37:37 +02:00
José Valim
72cf2481b5
Rename ParamFilter to ParameterFilter for consistency
2013-06-19 09:17:54 +02:00
José Valim
5c39a0c6d1
Merge pull request #2458 from t-kot/fix_access_locked_return_value
...
Fix access_locked? always return boolean
2013-06-12 20:45:25 -07:00
José Valim
56a26bd280
Merge pull request #2464 from sslotnick/expose_reset_confirm_tokens
...
Expose reset password and confirmation tokens
2013-06-12 20:44:45 -07:00
Steve Slotnick
b194882b23
Renaming get_or_create_*_token to ensure_*_token to match API in token authenticatable
2013-06-12 15:10:14 -07:00
Steve Slotnick
b5909f9b93
changing name from *_token! to get_or_create_*_token
2013-06-11 14:14:17 -07:00
Steve Slotnick
3c9cfa50c0
Adding publicly available methods on Recoverable and Confirmable to retrieve tokens
2013-06-10 19:17:19 -07:00
t-kot
e632240aee
Fix access_locked? always return boolean
2013-06-07 12:11:00 +09:00
José Valim
176158a309
Just for Rails 3.2
2013-06-06 00:45:02 +08:00
Vasiliy Ermolovich
2503f2d0a8
Merge pull request #2453 from jroes/patch-1
...
Code formatting for class names and command [ci skip]
2013-06-05 06:32:02 -07:00
Jonathan Roes
85897b4fe2
Code formatting for class names and command
2013-06-05 09:22:55 -04:00
José Valim
fdd47d74db
We are not duck typing here, so don't call the variable duck
2013-06-01 10:06:33 +09:00
Carlos Antonio da Silva
ae4448403c
Change flash message to alert instead of error
...
Devise uses the defaults :notice and :alert everywhere, this one seems to
have been missed since it was introduced in
ff75341c75 .
2013-05-29 21:34:28 -03:00
José Valim
2ead747be6
Merge pull request #2444 from julp/no_ghost_transactions
...
Fix empty transactions created by devise
2013-05-29 16:50:41 -07:00
julp
10aadee637
record is potentially unchanged here, if so, no needs to save it
2013-05-29 19:27:02 +02:00
julp
7670eb8e98
don't update failed_attempts attribute if already equal to 0
2013-05-29 19:24:51 +02:00
José Valim
486dc65884
Merge pull request #2430 from kramerc/blank-email
...
Avoid sending confirmations to blank emails.
2013-05-27 12:13:05 -07:00
Kramer Campbell
17e85aa79d
Avoid sending confirmations to blank emails.
...
At times, validations may be skipped and no email address may be
provided. Such an instance comes when testing uniqueness validations of
specific attributes in a Devise model with confirmable, especially when
using Shoulda matchers.
2013-05-22 19:48:06 -07:00
José Valim
10c9a492ab
Merge pull request #2427 from plataformatec/issue-2421
...
redirect user to the referrer if latest request was not GET after timeout
2013-05-19 08:07:43 -07:00
Vasiliy Ermolovich
b7079c7cf2
redirect user to the referrer if latest request was not GET after timeout
...
closes #2421
2013-05-19 17:11:34 +03:00
Vasiliy Ermolovich
55e69b18a4
Merge pull request #2424 from emilsoman/doc-fix
...
Update doc to mention http_authenticable is false by default [ci skip]
2013-05-17 14:29:31 -07:00
Emil Soman
020341176c
Update doc to mention http_authenticable is false by default
2013-05-18 01:50:06 +05:30
Vasiliy Ermolovich
a79846730e
Merge pull request #2422 from x3qt/patch-1
...
Fix typo in README.md [ci skip]
2013-05-17 04:19:16 -07:00
Yuri Pole
48eea9d325
Fix typo in README.md
2013-05-17 14:08:08 +03:00
José Valim
4e2cdc2d5b
Merge pull request #2413 from jbhannah/master
...
Fix redundant assignment of self.resource in Devise::RegistrationsController
2013-05-09 21:40:11 -07:00
Jesse B. Hannah
545a5cec3b
Fix redundant assignment of self.resource in Devise::RegistrationsController
...
Devise::RegistrationsController#create set self.resource to the return value of build_resource--which is nil, because build_resource sets self.resource to an actual resource object. This caused attempting to save the resource (two lines down) to fail with "undefined method `save' on nil:NilClass."
2013-05-09 18:33:30 -06:00
José Valim
ab77e08690
Update README.md
2013-05-07 16:18:48 -06:00
Carlos Antonio da Silva
39c1a2c7d0
Release 3.0.0.rc with Rails 4 support
v3.0.0.rc
2013-05-07 13:32:03 -03:00
Carlos Antonio da Silva
270e2ece19
Merge pull request #2376 from plataformatec/rails4
...
Support Rails 4
Keep compatibility with Rails 3.2. Drop support to Ruby 1.8.
2013-05-07 09:22:23 -07:00
Carlos Antonio da Silva
6b5988d756
Add changelog note about Rails 4 and Strong Params support
...
Plus dropping support for Rails < 3.2 and Ruby < 1.9.3
[ci skip]
2013-05-07 13:12:58 -03:00
Carlos Antonio da Silva
a4efbb9ad6
Update mongo revision
2013-05-07 13:05:02 -03:00
Carlos Antonio da Silva
eb0ad1c21a
Merge branch 'master' into rails4
2013-05-07 13:01:34 -03:00
Carlos Antonio da Silva
f5e33089a0
Release 2.2.4
v2.2.4
2013-05-07 12:51:46 -03:00
José Valim
e499fadf52
Use persisted? in order to check if the record was destoryed or not
2013-05-07 08:55:30 -06:00
Carlos Antonio da Silva
70199ed039
Bump webrat to 0.7.3 on 3.1 as well
2013-05-07 11:48:03 -03:00
Carlos Antonio da Silva
fb07558082
Update changelog with latest fixes [ci skip]
2013-05-07 11:48:03 -03:00
José Valim
5ad122b928
Fix build for mongoid
2013-05-07 08:47:18 -06:00
José Valim
c78b4b40c1
Remove warning since webrat is emitting tons of them
2013-05-07 08:22:06 -06:00
José Valim
ef2a2280a3
Update examples to be compatible with Rails 4
2013-05-07 08:18:12 -06:00
Carlos Antonio da Silva
42fca4dbe5
Update 3.1 lock file
2013-05-07 11:12:58 -03:00
José Valim
03f2a6a5e4
Merge pull request #2392 from michiel3/master
...
Add destroy_with_password method
2013-05-07 07:11:47 -07:00
José Valim
cc2fea8276
Merge pull request #2402 from xtream/master
...
Avoid duplication on param filter
2013-05-07 07:09:47 -07:00
José Valim
bb4cc2428f
Merge pull request #2407 from sebastianwr/master
...
No redirect when accessing devise API via JSON
2013-05-07 07:08:53 -07:00
Sebastian Wramba
43f7cf0f12
No redirect when Devise API is accessed via JSON
2013-05-07 10:18:23 +02:00
Carlos Antonio da Silva
bb5d65209a
Change rubygems source to use https [ci skip]
2013-05-06 23:04:49 -03:00
Carlos Antonio da Silva
69f79ad446
Let Devise play with both Rails 3.2 and Rails 4 for now
2013-05-05 19:55:06 -03:00
Victor Cruz Dueñas
75fdd2944d
Avoid hash mutation
2013-05-05 10:12:57 +02:00
Victor Cruz Dueñas
ae48fc8419
Refactor to avoid duplication on param filter
2013-05-05 01:19:37 +02:00