Rodrigo Flores
6d5bccc050
Added required fields to validatable
2012-02-24 20:57:58 -02:00
Rodrigo Flores
18aef6ac33
Some refactor
2012-02-22 13:55:03 -02:00
George Guimarães
b190fa38c7
typo
2012-02-17 19:15:46 -02:00
José Valim
7b1418be3b
Improve the regexp a bit more.
2011-08-29 14:55:56 +02:00
José Valim
a8d9695324
Simplify regexp and ensure it runs against UTF8 chars, closes #1235
2011-08-29 13:15:40 +02:00
Benjamin Quorning
a3bff7d6a2
Fix usage of "its" / "it's" in documentation
2011-08-16 22:15:25 +02:00
Gabe da Silveira
3488066031
Spelling correction
2011-07-29 14:17:31 -07:00
Thibaut
92c9ed2d6c
Don't validate email format and uniqueness unless it's changed.
2011-05-07 19:02:44 +02:00
José Valim
a59410a254
password_required? should not affect length validation, closes #1037 .
2011-04-29 08:33:33 +02:00
Rodrigo Flores
a229627a54
Removed failing test cases on e-mail validations
2011-04-19 20:16:20 +08:00
Matias Korhonen
8db00eedea
Bump the password maximum length to 128 characters.
2011-04-15 16:39:01 +08:00
José Valim
c5999c8f61
Tests green on mongoid as well.
2010-07-26 20:25:02 +02:00
José Valim
7774accb6c
Remove data_mapper support.
...
Devise 1.1.0 will be released soon. This new version will support activerecord and mongoid as default ORMs. From now on, Devise will prefer ORM extensions as gems since this is the best way to handle dependencies.
For example, to allow Devise to work with Datamapper, it requires at least activemodel, dm-rails and dm-timestamps. If the ORM support comes from Devise gem, we cannot add dm-rails and dm-timestamps as dependencies, relying on the developer and documentation to find these out and install them.
Other ORMs may still be added to Devise, as long as they are supported by the community, extend Devise test suite to have all tests passing and they necessarily use ActiveModel::Validations.
2010-07-04 17:22:57 +02:00
Jacques Crocker
e127463ac8
Adding Mongoid 2.0 Support, Removing MongoMapper for now
2010-03-26 13:37:38 -07:00
José Valim
ca4e09390e
Compatibility with Ruby 1.9.1 and 1.9.2.
2010-03-26 11:27:19 +01:00
José Valim
b3e11c5aca
Got another bunch of tests passing on Rails 3. 369 tests, 731 assertions, 33 failures, 53 errors.
2010-02-16 14:57:10 +01:00
Jonas Grimfelt
0c7c762c16
Fixed some Ruby 1.9 issues/bugs.
2010-01-21 16:06:19 +08:00
José Valim
78303cd5c5
Got another bunch of tests passing with MongoMapper.
2009-12-21 19:57:17 +01:00
José Valim
52885725a9
Assert validations API inside validatable module.
2009-11-24 13:56:54 -02:00
Carlos A. da Silva
198167d978
Removing default mapping and Updating tests at all
2009-10-10 18:07:25 -03:00
Carlos A. da Silva
ba7e74e1a1
Refactoring confirmable and recoverable to use the same default find method by perishable token.
2009-10-09 07:36:12 -03:00
Carlos A. da Silva
3655fe9096
Restructuring directories for models and mailers.
2009-09-20 10:35:26 -03:00