aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Chomp: prefer String#chomp where we can for a clarity boostlvl0nax2016-04-292-6/+2
* Prep Rails 5 beta 4eileencodes2016-04-271-1/+1
* - [ci skip] `regardless` is usually followed by `of` and not by `if .. or not`.Mohit Natoo2016-04-211-2/+2
* Fixed bug introduced in #24519. Makes build green againBogdan Gusiev2016-04-131-1/+1
* Use keyword arguments to cleanup without droping performanceBogdan Gusiev2016-04-131-8/+8
* prevent 'attribute_changed?' from returning nilSen-Zhang2016-04-111-1/+1
* Merge pull request #24511 from lihanli/activemodel-dirty-attribute-changedJeremy Daer2016-04-111-3/+5
|\
| * set default parameter to nil to speed up attribute_changed?Lihan Li2016-04-111-3/+5
* | Pass over all Rails 5 warnings, to make sure:Vipul A M2016-04-121-2/+2
|/
* fix length validation error typoPareshGupta2016-04-071-1/+1
* Allow passing record being validated to error message generatorPrathamesh Sonpatki2016-04-051-1/+2
* Merge pull request #24299 from kitop/activemodel-errors-include-fixKasper Timm Hansen2016-03-251-1/+1
|\
| * Do not create a hash key when calling ActiveModel::Errors#include?Esteban Pastorino2016-03-241-1/+1
* | Apply scale before precision when coercing floats to decimalSean Griffin2016-03-241-2/+10
* | Use Range#cover? for Date inclusion validatorojab2016-03-241-3/+4
|/
* use same name to type objectyuuji.yaginuma2016-03-091-1/+1
* Prep release for Rails 5 beta3eileencodes2016-02-241-1/+1
* Revert changes to validations from PR #18612eileencodes2016-02-231-11/+0
* Merge pull request #23743 from maclover7/rm-unused-parameterSantiago Pastorino2016-02-211-2/+2
|\
| * Remove unused parameter from methodJon Moss2016-02-171-2/+2
* | Always validate record if validating a virtual attributeeileencodes2016-02-201-0/+7
|/
* Add documentation about method to describe how it works [ci skip]Mehmet Emin İNAÇ2016-02-041-0/+9
* Preparing for Rails 5.0.0.beta2Sean Griffin2016-02-011-1/+1
* Merge branch '5-0-beta-sec'Aaron Patterson2016-01-253-3/+4
|\
| * bumping versionAaron Patterson2016-01-251-1/+1
| * Eliminate instance level writers for class accessorsAaron Patterson2016-01-222-2/+3
* | Refactor tz aware types, add support for PG rangesSean Griffin2016-01-081-0/+4
* | Take UTC offset into account when assigning string value to time attribute.Andrey Novikov2016-01-051-1/+1
* | Update copyright notices to 2016 [ci skip]Rashmi Yadav2015-12-311-1/+1
* | Convert non-`Numeric` values to FloatsRobert Eshleman2015-12-221-1/+1
* | Fix Regression in Numericality ValidationsRobert Eshleman2015-12-221-2/+9
|/
* Change `alpha` to `beta1` to prep for release of Rails 5eileencodes2015-12-181-1/+1
* `ActiveRecord::Base#becomes` should copy the errorsVokhmin Alexey V2015-12-141-0/+12
* Use a bind param for `LIMIT` and `OFFSET`Sean Griffin2015-12-141-0/+5
* Avoid dummy_time_value to add "2000-01-01" twiceYasuo Honda2015-11-301-1/+5
* Merge pull request #21000 from twalpole/find_or_parameter_issuesSean Griffin2015-11-231-1/+1
|\
| * Update and fix forbidden attributes testsThomas Walpole2015-11-031-1/+1
* | Merge pull request #22333 from harrykiselev/patch-3Yves Senn2015-11-211-1/+5
|\ \
| * | Update dirty.rb: documentation fix.Harry V. Kiselev2015-11-191-1/+5
|/ /
* / Require only necessary concurrent-ruby classes.Jerry D'Antonio2015-11-041-1/+1
|/
* Merge pull request #19851 from repinel/numericality-validation2Sean Griffin2015-10-201-12/+11
|\
| * Conditionally convert the raw_value received by the numeric validator.Roque Pinel2015-07-111-12/+11
* | All strings returned by `ImmutableString` should be frozenSean Griffin2015-10-152-11/+7
* | Add an immutable string type to opt out of string dupingSean Griffin2015-10-153-20/+38
* | use ActiveModel::Naming module instead of Model [ci skip]Roman Pramberger2015-10-061-1/+1
* | Merge pull request #21809 from yui-knk/fix_doc_am_serializationSean Griffin2015-10-021-3/+3
|\ \
| * | [ci skip] Fix explanation of `ActiveModel::Serialization`yui-knk2015-10-021-3/+3
* | | Fix AC::Parameters not being sanitized for query methods.Guo Xiang Tan2015-10-021-2/+3
|/ /
* | Fixed humane -> human [ci skip]Pratik2015-09-261-1/+1
* | `validates_acceptance_of` shouldn't require a database connectionSean Griffin2015-09-251-4/+51