| Commit message (Expand) | Author | Age | Files | Lines |
* | - Fixed unused variable | Vipul A M | 2014-12-21 | 1 | -3/+2 |
* | Add AM test: after/around callback returning false | claudiob | 2014-12-14 | 1 | -4/+15 |
* | Add AM test for after_validation returning false | claudiob | 2014-12-14 | 1 | -2/+13 |
* | Pass through the `prepend` option to `AS::Callback` | Godfrey Chan | 2014-12-12 | 1 | -1/+37 |
* | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 2 | -3/+3 |
* | Remove redundant require of file | Adam89 | 2014-11-01 | 1 | -1/+0 |
* | Add #key? to ActiveModel::Errors | Garry Shutler | 2014-10-14 | 1 | -0/+11 |
* | Added test for exception message for validate method | Prathamesh Sonpatki | 2014-09-23 | 1 | -1/+3 |
* | Default to sorting user's test cases for now | Godfrey Chan | 2014-09-08 | 1 | -1/+1 |
* | Leave all our tests as order_dependent! for now | Matthew Draper | 2014-09-02 | 1 | -0/+5 |
* | Move model definition to test/models for test order indenendency | Akira Matsuda | 2014-08-28 | 3 | -29/+15 |
* | [ci skip] make assert messages consistent | ankit1910 | 2014-08-25 | 1 | -2/+2 |
* | AM, AP, AV, and AMo tests are already order_independent! | Akira Matsuda | 2014-08-13 | 1 | -5/+0 |
* | Nobody sucks so nobody should call this awful method name | Rafael Mendonça França | 2014-08-12 | 1 | -1/+1 |
* | users_dont_suck_but_only_we_suck_and_only_our_tests_are_order_dependent! | Akira Matsuda | 2014-08-12 | 1 | -0/+5 |
* | Allow password to contain spaces only. | Yevhene Shemet | 2014-08-06 | 1 | -0/+10 |
* | Merge pull request #15959 from aditya-kapoor/remove-unneeded-cases | Rafael Mendonça França | 2014-07-29 | 2 | -26/+17 |
|\ |
|
| * | remove unneeded test model for ActiveModel test cases. | Aditya Kapoor | 2014-06-28 | 2 | -26/+17 |
* | | Merge branch 'rm-remove-mocha' | Rafael Mendonça França | 2014-07-19 | 1 | -0/+2 |
|\ \ |
|
| * | | Stop requiring mocha automatically | Rafael Mendonça França | 2014-07-19 | 1 | -0/+2 |
* | | | Merge pull request #16210 from sonnym/assert_valid_keys_in_validate | Matthew Draper | 2014-07-18 | 1 | -0/+7 |
|\ \ \ |
|
| * | | | check for valid options in validate method | sonnym | 2014-07-17 | 1 | -0/+6 |
|/ / / |
|
* | | | Make restore_attributes public | Rafael Mendonça França | 2014-07-17 | 1 | -5/+15 |
* | | | Deprecate `reset_#{attribute}` in favor of `restore_#{attribute}`. | Rafael Mendonça França | 2014-07-15 | 1 | -3/+3 |
* | | | Deprecate ActiveModel::Dirty#reset_changes in favor of #clear_changes_informa... | Rafael Mendonça França | 2014-07-15 | 1 | -0/+21 |
|/ / |
|
* | | Only automatically include validations when enabled | Godfrey Chan | 2014-07-02 | 1 | -11/+3 |
* | | automatically include ActiveModel::Validations when include ActiveModel::Secu... | Aditya Kapoor | 2014-07-03 | 3 | -2/+5 |
* | | Rename rollback_changes to undo_changes | Rafael Mendonça França | 2014-06-30 | 1 | -2/+2 |
* | | Merge pull request #14861 from igor04/dirty-rollback | Rafael Mendonça França | 2014-06-30 | 1 | -0/+18 |
|\ \
| |/
|/| |
|
| * | Added rollback method to ActiveModel::Dirty | igor04 | 2014-06-23 | 1 | -0/+18 |
* | | Merge pull request #15834 from rmehner/allow_proc_and_symbol_for_only_integer | Rafael Mendonça França | 2014-06-26 | 1 | -0/+15 |
|\ \ |
|
| * | | `only_integer` of `NumericalityValidator` now allows procs and symbols | Robin Mehner | 2014-06-22 | 1 | -0/+15 |
* | | | Merge pull request #15871 from yuki24/add-model-name-instance-method | David Heinemeier Hansson | 2014-06-24 | 1 | -0/+6 |
|\ \ \ |
|
| * | | | Delegate #model_name method to self.class | Yuki Nishijima | 2014-06-22 | 1 | -0/+6 |
| |/ / |
|
* / / | remove unnecessary require for json serialization test cases | Aditya Kapoor | 2014-06-24 | 1 | -1/+0 |
|/ / |
|
* | | Correct typo, add test for validates_absence_of, correct method names | Akshay Vishnoi | 2014-06-16 | 1 | -3/+4 |
* | | Use `@existing_user` while updating existing user, fixing - #ee4e86 | Akshay Vishnoi | 2014-06-14 | 1 | -6/+6 |
* | | Cleaned up the `has_secure_password` test cases | Godfrey Chan | 2014-06-14 | 1 | -33/+29 |
* | | SecurePassword - Validate password must be less than or equal to 72 | Akshay Vishnoi | 2014-06-14 | 1 | -0/+28 |
* | | [ci skip] add tests for ActionModel::Conversion | Aditya Kapoor | 2014-06-11 | 1 | -0/+4 |
* | | remove depricated Validatior#setup | Kuldeep Aggarwal | 2014-06-10 | 1 | -21/+0 |
* | | Add singular and plural form for some validation messages | Abd ar-Rahman Hamidi | 2014-05-02 | 1 | -3/+15 |
|/ |
|
* | Fix warning for overshadowing XML variable | Musannif Zahir | 2014-03-28 | 1 | -2/+2 |
* | ActiveRecord/ActiveModel '#validate' alias for 'valid?' | Henrik Nyh | 2014-03-27 | 1 | -0/+9 |
* | comment why we are modifying global state. [ci skip] | Yves Senn | 2014-03-11 | 1 | -0/+1 |
* | Completely remove potential global state leaks in ActiveModel tests. | Zuhao Wan | 2014-03-11 | 7 | -110/+136 |
* | Merge pull request #14315 from zuhao/activemodel_tests_in_random_order | Yves Senn | 2014-03-09 | 4 | -13/+39 |
|\ |
|
| * | Run ActiveModel test suites in random order. | Zuhao Wan | 2014-03-10 | 4 | -13/+39 |
* | | Tests for indifferent access using full_messages_for. Closes #11916 | Pavel Penkov | 2014-03-08 | 1 | -0/+7 |
|/ |
|
* | Fix some validators when used on model instance | Eric Hutzelman | 2014-02-26 | 2 | -2/+4 |