Sean Hill
8ad414b217
Added a helper to look for an modifying migration. If one is found during :revoke, the modifying migration is deleted. If the modifying migration is not found, the creating migration is deleted.
2011-08-29 17:53:32 -05:00
José Valim
7b1418be3b
Improve the regexp a bit more.
2011-08-29 14:55:56 +02:00
José Valim
7396c6911d
Quack, quack, quack. Use duck typing instead of hardcoding everything, closes #1281 .
2011-08-29 14:40:49 +02:00
José Valim
f21d05a235
Only generate helpers for the used mappings, closes #1288
2011-08-29 14:29:38 +02:00
José Valim
1dd19c1a72
Wrap :actions constraints in the proper hash, closes #1280
2011-08-29 13:29:30 +02:00
José Valim
a8d9695324
Simplify regexp and ensure it runs against UTF8 chars, closes #1235
2011-08-29 13:15:40 +02:00
Sean Hill
99d539b9a7
Chagned the copy_devise_migration method to properly handle the :revoke behavior using @daf's commit: acf7e9e2ad as a guide.
2011-08-28 16:29:06 -05:00
Sean Hill
179cb2c88a
Changed the order of the devise_generator methods to create the model after the migration to properly use model_exists?, and I added tests to prove the generator works.
2011-08-28 16:02:58 -05:00
Sean Hill
9629da863d
Added a template to create a migration when the model already exists. Changed the generator code to check if model exists, and if it does, call the new template instead of the standard template.
2011-08-25 07:05:19 -05:00
Szymon Przybył
7665cbf21d
Allow to set default 'from' header of Devise mails in custom mailer class
2011-08-20 22:35:47 +02:00
Benjamin Quorning
a3bff7d6a2
Fix usage of "its" / "it's" in documentation
2011-08-16 22:15:25 +02:00
José Valim
7e54dc7903
Edited lib/devise/models/lockable.rb via GitHub
2011-08-16 08:00:44 -07:00
Daniel Whalen
282c7e85ec
Fix documentation typo
2011-08-11 20:16:20 -07:00
David Turner
6d65c28f1f
remove hard-to-distinguish characters from friendly_token
2011-08-10 12:44:30 -04:00
Alexander Uvarov
d38341b5e0
Don't require explicit scope in authenticate router extension
2011-08-10 15:41:06 +06:00
José Valim
6448490de5
Edited lib/generators/templates/devise.rb via GitHub
2011-08-05 20:45:39 +03:00
José Valim
98651dae9d
Merge pull request #1241 from dbloete/patch-1
...
Speed up tests by defaulting to 1 stretch in test env
2011-08-05 10:43:54 -07:00
Ches Martin
da3c47259d
Doc: DB authenticatable schema no longer includes salt
2011-08-05 17:33:50 +07:00
Ches Martin
c95575b284
Doc: DatabaseAuthenticatable still uses pepper option
2011-08-05 17:08:26 +07:00
Dennis Reimann
372dfecf05
Added a comment about the stretch change
2011-08-04 23:00:12 +03:00
Dennis Reimann
68bd6809a7
Speed up tests by defaulting to 1 stretch in test env
2011-08-04 22:50:06 +03:00
Ches Martin
7bfdd07a71
Initializer caveats warning for Mongoid < 2.1
2011-08-05 02:41:31 +07:00
José Valim
919404df53
Merge pull request #1228 from dasil003/master
...
Set up Recoverable to automatically confirm! if Comfirmable
2011-08-02 12:41:09 -07:00
Gabe da Silveira
fd07c74578
Refactor to use method and override
2011-08-02 12:08:38 -07:00
Aditya Sanghi
873e49ab66
sign_in should return true in case user is already signed in and assert that.
2011-08-02 14:35:46 +05:30
Gabe da Silveira
ed6dfed67f
Resetting password should confirm implicitly
2011-07-29 14:26:19 -07:00
Gerald Talton
1920b79a0d
Edited lib/devise/rails/routes.rb via GitHub
2011-07-28 15:23:23 -05:00
=
770c1a973f
Changed :except to :only for devise_registration method of the routing mapper.
2011-07-26 13:42:00 -04:00
José Valim
b7b21a0b72
Merge pull request #1211 from mathieuravaux/master
...
Issue #1206 fix ((TokenAuthenticatable#params_auth_hash behavior)
2011-07-25 05:11:26 -07:00
Mathieu Ravaux
4d91fb4910
Untangled the logic in Devise::Strategies::TokenAuthenticatable#params_auth_hash
2011-07-25 09:10:25 +02:00
Matt Wright
d2a4c503f7
Typo in doc comment
2011-07-23 15:03:10 -07:00
Mathieu Ravaux
a2700bc17f
Fixed issue #1206 : TokenAuthenticatable#params_auth_hash behaving in an unexpected way for the authentication token lookup
2011-07-23 17:45:45 +02:00
Jo Liss
2a6c160d39
Remove whitespace from generator template
2011-07-08 18:41:16 +02:00
José Valim
5423f2d5cb
Properly deprecate setup_mail
2011-07-01 04:23:12 -07:00
José Valim
51d15b7293
Add more missing :require => true
2011-06-30 15:29:35 -03:00
José Valim
7a2e018df8
Release 1.4.2.
2011-06-30 15:20:13 -03:00
José Valim
1fd4beb18a
Move simple_form_for directories to a new location.
2011-06-30 15:09:54 -03:00
José Valim
33d7644b4f
Provide a more robust behavior to serializers and add :force_except option
2011-06-30 10:43:33 -03:00
José Valim
5a98e4f4e8
Temporary fix for 3-1-stable that does not implement key? on cookie jar, closes #1179
2011-06-30 08:04:32 -03:00
José Valim
82ae53dd75
Released v1.4.1.
2011-06-29 20:26:35 -03:00
José Valim
07db04e773
Work around AR that does not call serializable_hash on to_xml.
2011-06-29 20:18:10 -03:00
José Valim
767a7a7c21
Ensure handle_unverified_request clean up any cached signed-in user
2011-06-29 20:18:10 -03:00
José Valim
c8077c8d9f
Add more docs to routes.
2011-06-27 13:04:40 -03:00
José Valim
adb127bb3e
Default to delete on new templates.
2011-06-27 12:15:23 -03:00
José Valim
42f0285278
Extract mailer functionality, closes #1164
2011-06-27 12:13:00 -03:00
José Valim
13ef23f517
Add simple form generators.
2011-06-27 11:50:28 -03:00
José Valim
0bf28b19ab
Simple use hook_for.
2011-06-27 11:31:29 -03:00
José Valim
29a0af78bc
Refactor view generators.
2011-06-27 11:22:44 -03:00
Brent J. Nordquist
7e711089a8
More transparent implementat'n of :format => false
...
Per josevalim, by setting {:format => false} in @scope[:options],
Rails will pick it up, without the need to alter each devise_*()
method individually.
2011-06-27 06:51:04 -05:00
Brent J. Nordquist
1c81a40a76
Support options[:defaults] and @scope[:defaults]
...
similar to support for :constraints
2011-06-26 19:48:20 -05:00