Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #8501 from charliesome/version-to-s | Rafael Mendonça França | 2013-03-23 | 1 | -6/+7 |
|\ | | | | | Add #to_s method to VERSION modules | ||||
| * | Add version method to top level modules | Charlie Somerville | 2013-03-21 | 1 | -6/+7 |
| | | |||||
* | | Fixed typo in activemodel/CHANGELOG | Prathamesh Sonpatki | 2013-03-24 | 1 | -1/+1 |
| | | |||||
* | | Remove exception variable from rescue block | Carlos Antonio da Silva | 2013-03-22 | 1 | -2/+2 |
| | | | | | | | | | | Just raising from the rescue block will re-raise the exception, so the variable is not necessary. | ||||
* | | Change Standard error when is required bcrypt-ruby and fails | robertomiranda | 2013-03-21 | 1 | -2/+7 |
| | | |||||
* | | Tidying up some require : removing useless sort and homogenizing with the ↵ | Intrepidd | 2013-03-20 | 1 | -4/+1 |
|/ | | | | rest of the code the wat the includes are done | ||||
* | The repair_validations helper was not working correctly before because | wangjohn | 2013-03-19 | 2 | -0/+64 |
| | | | | | | it only cleared the validations that created :validate callbacks. This didn't include the validates created by validates_with, so I've added a method to clear all validations. | ||||
* | Revert "instruct RDoc to only parse Ruby files under lib [Fixes #9779]" | Xavier Noria | 2013-03-18 | 1 | -1/+1 |
| | | | | This reverts commit c24528fbc94dea9946a563be3bed9559583bdc57. | ||||
* | instruct RDoc to only parse Ruby files under lib [Fixes #9779] | Xavier Noria | 2013-03-18 | 1 | -1/+1 |
| | |||||
* | fix some typos found in activemodel | Vipul A M | 2013-03-18 | 3 | -4/+4 |
| | |||||
* | Small typos here and there. | Vipul A M | 2013-03-15 | 4 | -5/+5 |
| | |||||
* | Fix AMo code example indent, add missing author to entry [ci skip] | Carlos Antonio da Silva | 2013-03-09 | 1 | -6/+8 |
| | |||||
* | Merge pull request #9545 from senny/9535_secure_password_blank | Rafael Mendonça França | 2013-03-07 | 5 | -3/+75 |
|\ | | | | | `has_secure_password` is not invalid when assigning empty Strings | ||||
| * | `has_secure_password` is not invalid when assigning empty Strings. | Yves Senn | 2013-03-04 | 3 | -2/+24 |
| | | | | | | | | | | | | | | | | | | | | Closes #9535. With 692b3b6 the `password=` setter does no longer set blank passwords. This triggered validation errors when assigning empty Strings to `password` and `password_confirmation`. This patch only sets the confirmation if it is not `blank?`. | ||||
| * | `validates_confirmation_of` does not override writer methods. | Yves Senn | 2013-03-04 | 3 | -1/+51 |
| | | |||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-03-05 | 1 | -1/+1 |
|\ \ | |/ |/| | |||||
| * | Small Typo | Lebin Sebastian F | 2013-03-04 | 1 | -1/+1 |
| | | |||||
* | | Update CHANGELOGS | Rafael Mendonça França | 2013-02-26 | 1 | -0/+3 |
|/ | |||||
* | Preparing for 4.0.0.beta1 release | David Heinemeier Hansson | 2013-02-25 | 2 | -2/+2 |
| | |||||
* | did a pass over the AM changelog [ci skip] | Xavier Noria | 2013-02-24 | 1 | -15/+35 |
| | |||||
* | added more accurate test for add_on_empty | Angelo capilleri | 2013-02-19 | 1 | -0/+7 |
| | | | | | with the current tests, if delete the assignment of is_empty in add_on_empty method the tests not fail. With this test, if we delete is_empty, the test fails | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-02-15 | 1 | -0/+3 |
|\ | | | | | | | | | Conflicts: guides/source/upgrading_ruby_on_rails.md | ||||
| * | Clarify ActiveModel::Validator initialization in docs. | Henrik Nyh | 2013-02-09 | 1 | -0/+3 |
| | | | | | | As discussed with @josevalim on Ruby Rogues Parley. | ||||
* | | Take care of whitespaces and changing the hash syntax | Rafael Mendonça França | 2013-02-04 | 1 | -57/+56 |
| | | |||||
* | | test for issue 8931 | David | 2013-02-02 | 1 | -0/+8 |
|/ | |||||
* | Missing require extract_options | Akira Matsuda | 2013-01-31 | 1 | -0/+2 |
| | |||||
* | Adding the route_key and param_key tests | Attila Domokos | 2013-01-22 | 1 | -0/+8 |
| | | | This way all the tests are testing the same fields | ||||
* | Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" | Guillermo Iguaran | 2013-01-18 | 2 | -3/+3 |
| | | | | | This reverts commit 637a7d9d357a0f3f725b0548282ca8c5e7d4af4a, reversing changes made to 5937bd02dee112646469848d7fe8a8bfcef5b4c1. | ||||
* | User Rails 4 find_by | robertomiranda | 2013-01-18 | 2 | -3/+3 |
| | |||||
* | Merge pull request #8940 from adomokos/adding_tests_for_changed_attributes | Carlos Antonio da Silva | 2013-01-15 | 1 | -1/+12 |
|\ | | | | | Cleaning up ActiveModel::Dirty tests | ||||
| * | Cleaning up ActiveModel::Dirty tests | Attila Domokos | 2013-01-15 | 1 | -1/+12 |
| | | | | | | | | | | | | | | * Clarifying what the #changed method returns * Adding tests to describe what the #changed_attributes returns * Updating test name based on pull request comment * Moving the test lower in the file per pull request comment | ||||
* | | ActiveRecord <-> Active Record [ci skip] | Trung Lê | 2013-01-15 | 1 | -2/+2 |
| | | |||||
* | | test for ActiveModel::Conversion#to_partial_path and namespaced models | Yves Senn | 2013-01-14 | 2 | -0/+8 |
|/ | |||||
* | Adding tests for ActiveModel::Model | Attila Domokos | 2013-01-12 | 1 | -0/+6 |
| | | | | | | * Verifying persisted? is false when Model initialized * Passing nil to Model should not blow up * Changing test name to the one suggested in pull request comment | ||||
* | Covering untested methods for ActiveModel::Errors | Attila Domokos | 2013-01-10 | 1 | -0/+53 |
| | |||||
* | Set default value to ActiveModel::Validator initializer attribute | Irio Irineu Musskopf Junior | 2013-01-09 | 1 | -1/+1 |
| | | | | Makes it easier to test its objects. | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2013-01-09 | 2 | -19/+1 |
|\ | | | | | | | | | Conflicts: guides/source/getting_started.md | ||||
| * | prefer american spelling of 'behavior' | Gosha Arinich | 2013-01-07 | 1 | -1/+1 |
| | | |||||
| * | Observers was extracted from Active Model as `rails-observers` gem | Akira Matsuda | 2013-01-02 | 1 | -18/+0 |
| | | |||||
* | | Reduce number of Strings a bit | Akira Matsuda | 2013-01-07 | 2 | -3/+3 |
| | | |||||
* | | Namespace HashWithIndifferentAccess | Akira Matsuda | 2013-01-07 | 1 | -1/+1 |
|/ | |||||
* | Updated copyright notices for 2013 | Andrew Nesbitt | 2012-12-31 | 2 | -2/+2 |
| | |||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | This change doesn't need a CHANGELOG entry. | Rafael Mendonça França | 2012-12-26 | 1 | -5/+0 |
| | | | | [ci skip] | ||||
* | Add CHANGELOG entry for #8622 | Rafael Mendonça França | 2012-12-26 | 2 | -2/+7 |
| | |||||
* | Revert the change at ActiveModel::Errors#add_on_blank and fix in the | Rafael Mendonça França | 2012-12-26 | 3 | -14/+8 |
| | | | | | | | | | | | right place. The EachValidator#validate already handle :allow_blank and :allow_nil, correctly. Closes #8622. Fix #8621. | ||||
* | Tests and fix for validates_presence of :allow_nil, :allow_blank | Colin Kelley | 2012-12-26 | 2 | -1/+41 |
| | | | | | Conflicts: activemodel/lib/active_model/errors.rb | ||||
* | chmod -x from non-script files | Akira Matsuda | 2012-12-24 | 2 | -0/+0 |
| | |||||
* | Remove CHANGELOG entry for ActiveModel::Errors#add_on_present | Rafael Mendonça França | 2012-12-21 | 1 | -5/+0 |
| | |||||
* | Use :present as key for the absence validatior message | Rafael Mendonça França | 2012-12-21 | 2 | -2/+2 |
| |