José Valim
ea71be8d2a
More compatibility with Rails master.
2010-03-28 07:15:52 +02:00
Jacques Crocker
fd035b841b
Additional configuration for validatable
...
Added the ability to customize password length (via Devise.password_length) and the regular expression used for validating email (via Devise.email_regex)
2010-03-26 13:52:12 -07:00
Jacques Crocker
e127463ac8
Adding Mongoid 2.0 Support, Removing MongoMapper for now
2010-03-26 13:37:38 -07:00
José Valim
e136573905
Improve workflow with devise generator.
2010-03-26 10:36:15 +01:00
José Valim
3a84fd4f3f
Ensure devise_views is always executed.
2010-03-16 02:51:59 +01:00
Ørjan Blom
f129b9ffd7
don't use a static name in a public directory, and delete after use.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 15:02:54 +01:00
José Valim
185541b9e4
Use template engine as option since it's the one used by rails.
2010-03-14 09:39:59 +01:00
Fred Wu
de92be39f2
Use Ruby's tmp directory instead of a ghost directory inside the devise gem folder.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:57 +01:00
Fred Wu
3f85fa88c3
Use 'rescue' to ensure the presence of Haml.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:52 +01:00
Fred Wu
2ebbc30540
Made sure no deprecated HAML templates (in case any) will get copied over.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:45 +01:00
Fred Wu
b8091928a0
A more user friendly way of checking the existence of Haml.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:39 +01:00
Fred Wu
cbd35a846a
Added verification for HAML >= 2.3.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:31 +01:00
Fred Wu
90e8253205
Added HAML as a template engine option to devise_views generator (-t or --engine). HAML files are created based on the erb files on the fly using 'html2haml' command that comes with HAML.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:19 +01:00
José Valim
ed3a460bad
Allow to give a scope when copying views.
2010-03-10 16:53:09 +01:00
Fred Wu
cd17099401
Create the devise_views directory in './app/views' instead of the root.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-10 15:29:30 +01:00
Ørjan Blom
1a740774e3
use Devise.encryptor setting when creating the migration
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-09 10:38:39 +01:00
José Valim
e9682a3e64
In Rails 3, for some reason, you need to restart the server after copying views.
2010-02-19 23:54:05 -07:00
José Valim
1c6f18cb8b
Since Devise::FailureApp is now a metal, we can get rid of this default_url_options stuff.
2010-02-19 10:13:53 +01:00
José Valim
a79e8e0404
Tiny change in generator README.
2010-02-17 16:37:27 +01:00
José Valim
02e8c04cde
Update views generator and now have scoped views.
2010-02-17 12:26:54 +01:00
José Valim
443a2d8343
Moved devise_install to rails 3 generators.
2010-02-17 11:10:24 +01:00
José Valim
38bfe3f990
First generator for Rails 3.
2010-02-17 11:00:10 +01:00