aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Review some tests from AMo::Errors to remove "should" usageCarlos Antonio da Silva2013-03-301-55/+35
| | | | | | | | | | | | | | | Also remove duplicated tests for Errors#as_json and minor improvements in some tests.
* | | Improve changelog entry for ActiveModel::Errors#full_messages_for [ci skip]Carlos Antonio da Silva2013-03-302-4/+13
| | | | | | | | | | | | Add a working example of how to use this new method.
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb activerecord/test/cases/adapter_test.rb guides/source/testing.md [ci skip]
| * | | Reverted change in activemodel/CHANGELOG.md introduced by ↵Prathamesh Sonpatki2013-03-241-2/+2
| | | | | | | | | | | | | | | | d45145acdc576e46a1f1719d69bec96b5bf07b0a
| * | | Changed 'args' to 'arguments' when used in places other than code with ↵Prathamesh Sonpatki2013-03-241-2/+2
| | | | | | | | | | | | | | | | fixing few more typos
| * | | clarify verbiageWaynn Lue2013-03-121-1/+1
| | | |
* | | | Merge pull request #8527 from shockone/patch-1Rafael Mendonça França2013-03-253-0/+39
|\ \ \ \ | | | | | | | | | | Add a method full_messages_for to the Errors class
| * | | | Add a method full_messages_for to the Errors classshock_one2013-03-243-0/+39
| | | | |
* | | | | Merge pull request #9864 from vipulnsward/fix_test_AR_v2Rafael Mendonça França2013-03-251-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Introduce test on Error#full_message for attribute with underscores; Fix...
| * | | | Add Error#full_message test; Fix typosVipul A M2013-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Introduce test on Error#full_message for attribute with underscores; Fix some typos
* | | | | Merge pull request #8501 from charliesome/version-to-sRafael Mendonça França2013-03-231-6/+7
|\ \ \ \ \ | | | | | | | | | | | | Add #to_s method to VERSION modules
| * | | | | Add version method to top level modulesCharlie Somerville2013-03-211-6/+7
| | | | | |
* | | | | | Fixed typo in activemodel/CHANGELOGPrathamesh Sonpatki2013-03-241-1/+1
| | | | | |
* | | | | | Remove exception variable from rescue blockCarlos Antonio da Silva2013-03-221-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 failsrobertomiranda2013-03-211-2/+7
| | | | |
* | | | | Tidying up some require : removing useless sort and homogenizing with the ↵Intrepidd2013-03-201-4/+1
|/ / / / | | | | | | | | | | | | rest of the code the wat the includes are done
* | | | The repair_validations helper was not working correctly before becausewangjohn2013-03-192-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 Noria2013-03-181-1/+1
| | | | | | | | | | | | | | | | This reverts commit c24528fbc94dea9946a563be3bed9559583bdc57.
* | | | instruct RDoc to only parse Ruby files under lib [Fixes #9779]Xavier Noria2013-03-181-1/+1
| | | |
* | | | fix some typos found in activemodelVipul A M2013-03-183-4/+4
| | | |
* | | | Small typos here and there.Vipul A M2013-03-154-5/+5
|/ / /
* | | Fix AMo code example indent, add missing author to entry [ci skip]Carlos Antonio da Silva2013-03-091-6/+8
| | |
* | | Merge pull request #9545 from senny/9535_secure_password_blankRafael Mendonça França2013-03-075-3/+75
|\ \ \ | | | | | | | | `has_secure_password` is not invalid when assigning empty Strings
| * | | `has_secure_password` is not invalid when assigning empty Strings.Yves Senn2013-03-043-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 Senn2013-03-043-1/+51
| | | |
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-051-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Small TypoLebin Sebastian F2013-03-041-1/+1
| | | |
* | | | Update CHANGELOGSRafael Mendonça França2013-02-261-0/+3
|/ / /
* | | Preparing for 4.0.0.beta1 releaseDavid Heinemeier Hansson2013-02-252-2/+2
| | |
* | | did a pass over the AM changelog [ci skip]Xavier Noria2013-02-241-15/+35
| | |
* | | added more accurate test for add_on_emptyAngelo capilleri2013-02-191-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/docrailsVijay Dev2013-02-151-0/+3
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: guides/source/upgrading_ruby_on_rails.md
| * | | Clarify ActiveModel::Validator initialization in docs.Henrik Nyh2013-02-091-0/+3
| | | | | | | | | | | | As discussed with @josevalim on Ruby Rogues Parley.
* | | | Take care of whitespaces and changing the hash syntaxRafael Mendonça França2013-02-041-57/+56
| | | |
* | | | test for issue 8931David2013-02-021-0/+8
|/ / /
* | | Missing require extract_optionsAkira Matsuda2013-01-311-0/+2
| | |
* | | Adding the route_key and param_key testsAttila Domokos2013-01-221-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 Iguaran2013-01-182-3/+3
| | | | | | | | | | | | | | | This reverts commit 637a7d9d357a0f3f725b0548282ca8c5e7d4af4a, reversing changes made to 5937bd02dee112646469848d7fe8a8bfcef5b4c1.
* | | User Rails 4 find_byrobertomiranda2013-01-182-3/+3
| | |
* | | Merge pull request #8940 from adomokos/adding_tests_for_changed_attributesCarlos Antonio da Silva2013-01-151-1/+12
|\ \ \ | | | | | | | | Cleaning up ActiveModel::Dirty tests
| * | | Cleaning up ActiveModel::Dirty testsAttila Domokos2013-01-151-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-151-2/+2
| | | |
* | | | test for ActiveModel::Conversion#to_partial_path and namespaced modelsYves Senn2013-01-142-0/+8
|/ / /
* | | Adding tests for ActiveModel::ModelAttila Domokos2013-01-121-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::ErrorsAttila Domokos2013-01-101-0/+53
| | |
* | | Set default value to ActiveModel::Validator initializer attributeIrio Irineu Musskopf Junior2013-01-091-1/+1
| | | | | | | | | | | | Makes it easier to test its objects.
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-092-19/+1
|\ \ \ | |/ / |/| | | | | | | | Conflicts: guides/source/getting_started.md
| * | prefer american spelling of 'behavior'Gosha Arinich2013-01-071-1/+1
| | |
| * | Observers was extracted from Active Model as `rails-observers` gemAkira Matsuda2013-01-021-18/+0
| | |
* | | Reduce number of Strings a bitAkira Matsuda2013-01-072-3/+3
| | |