aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Collapse)AuthorAgeFilesLines
...
| * update ActiveModel::Serializers documentation [ci skip]Francesco Rodriguez2012-07-302-14/+40
| |
| * add documentation to ActiveModel #from_json method [ci skip]Francesco Rodriguez2012-07-301-2/+34
| |
| * fix #after_validation example [ci skip]Francesco Rodriguez2012-07-301-1/+1
| |
| * add :nodoc: directives to ActiveModel Sanitizers [ci skip]Francesco Rodriguez2012-07-291-4/+4
| |
| * fix class reference in AM::MassAssignmentSecurity documentation [ci skip]Francesco Rodriguez2012-07-291-3/+3
| |
| * update ActiveModel::Validations::Callbacks documentation [ci skip]Francesco Rodriguez2012-07-291-18/+69
| |
| * update #validates and #validates! documentation [ci skip]Francesco Rodriguez2012-07-291-31/+43
| |
| * update ActiveModel::Valdations#validates_with docs [ci skip]Francesco Rodriguez2012-07-291-16/+18
| |
| * update ActiveModel::Validations docs [ci skip]Francesco Rodriguez2012-07-292-36/+127
| |
| * update ActiveModel::Validator docs [ci skip]Francesco Rodriguez2012-07-292-11/+11
| |
| * update ActiveModel::SecurePassword docs [ci skip]Francesco Rodriguez2012-07-291-18/+38
| |
| * add example to ActiveModel::StrictValidationFailed [ci skip]Francesco Rodriguez2012-07-281-0/+13
| |
| * add example to ActiveModel::MissingAttributeError [ci skip]Francesco Rodriguez2012-07-281-0/+8
| |
| * update ActiveModel::MassAssignmentSecurity docs [ci skip]Francesco Rodriguez2012-07-281-65/+177
| |
| * add example to ActiveModel::Naming#model_name [ci skip]Francesco Rodriguez2012-07-271-0/+8
| |
| * fix AM::Naming examples [ci skip]Francesco Rodriguez2012-07-271-12/+12
| |
| * add :nodoc: directive to AM::ObserverArray internal methods [ci skip]Francesco Rodriguez2012-07-221-10/+10
| |
* | Merge pull request #7253 from acapilleri/lenght_validator_errors_optionsRafael Mendonça França2012-08-031-2/+2
|\ \ | | | | | | calculate errors_options one time in validate_each
| * | calculate errors_options one time in validate_eachAngelo Capilleri2012-08-031-2/+2
| | | | | | | | | | | | | | | | | | errors_options is calculated for every *CHECKS* but it could be calculated one time because options and RESERVED_OPTIONS not change during this cycle
* | | Remove ActiveRecord::Base.to_aJon Leighton2012-08-031-1/+1
| | | | | | | | | | | | | | | On reflection, it seems like a bit of a weird method to have on ActiveRecord::Base, and it shouldn't be needed most of the time anyway.
* | | load active_support/deprecation in active_support/railsXavier Noria2012-08-022-2/+0
| | |
* | | load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
| | |
* | | load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-024-4/+0
| | |
* | | load active_support/concern in active_support/railsXavier Noria2012-08-021-1/+0
| | |
* | | load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-022-2/+0
| | |
* | | load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-025-5/+0
| | |
* | | defines a private require-hub active_support/railsXavier Noria2012-08-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc.
* | | has_secure_password should not raise a 'digest missing' error if the calling ↵Robby Grossman2012-07-313-2/+21
|/ / | | | | | | class has specified for validations to be skipped.
* | ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | Previously it returned an Array. If you want an array, call e.g. `Post.to_a` rather than `Post.all`. This is more explicit. In most cases this should not break existing code, since Relations use method_missing to delegate unknown methods to #to_a anyway.
* | fix typo in callbacks testAccessd2012-07-241-2/+2
|/
* Update documentation and change the range method name to delimiter.Rafael Mendonça França2012-07-203-5/+7
|
* Don't pass `:within` option to the i18nRafael Mendonça França2012-07-203-2/+24
|
* `validates_inclusion_of` and `validates_exclusion_of` now acceptRafael Mendonça França2012-07-203-3/+26
| | | | | | `:within` option as alias of `:in` as documented. Fix #7118
* AM::Validations: remove documentation duplicatesBogdan Gusiev2012-07-109-119/+52
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-07-0713-152/+199
|\
| * add :nodoc: to internal implementations of AM::Validator [ci skip]Francesco Rodriguez2012-07-062-3/+3
| |
| * update ActiveModel::Serialization documentation [ci skip]Francesco Rodriguez2012-07-061-14/+36
| |
| * fix syntax of AM::Validations::HelperMethods examples [ci skip]Francesco Rodriguez2012-07-054-6/+6
| |
| * update ActiveModel::Validations::HelperMethods documentation [ci skip]Francesco Rodriguez2012-07-058-130/+141
| |
| * update ActiveModel::Conversion documentation [ci skip]Francesco Rodriguez2012-07-041-3/+15
| |
| * Changed attr_accessible example to reflect grouped rolesLaknath2012-07-011-2/+4
| | | | | | | | | | Related to the request #5699 - https://github.com/rails/rails/pull/5699 and not documented.
* | Merge pull request #6938 from acapilleri/as_json_refactoringCarlos Antonio da Silva2012-07-071-2/+6
|\ \ | | | | | | Small refactoring of as_json method
| * | small refactoring of as_json methodAngelo Capilleri2012-07-031-2/+6
| |/ | | | | | | with this change root has always one assignment
* / observer update refactoringAngelo Capilleri2012-07-031-2/+1
|/
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-306-118/+357
|\ | | | | | | | | Conflicts: activemodel/lib/active_model/errors.rb
| * update ActiveModel::Name documentation [ci skip]Francesco Rodriguez2012-06-251-1/+133
| |
| * fix punctuation in activemodel/errors [ci skip]Francesco Rodriguez2012-06-251-1/+1
| |
| * update ActiveModel::Naming documentationFrancesco Rodriguez2012-06-231-7/+8
| |
| * update ActiveModel::Model documentation [ci skip]Francesco Rodriguez2012-06-231-16/+37
| |
| * add description ActiveModel::StrictValidationField [ci skip]Francesco Rodriguez2012-06-231-0/+10
| |