aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Fix validation callbacks on multiple contextYoshiyuki Hirano2017-12-201-9/+13
* Fix doc typo [ci skip]Tom Copeland2017-12-121-1/+1
* Update validates.rbLonre Wang2017-12-101-1/+1
* Preparing for 5.2.0.beta2 releaseRafael Mendonça França2017-11-281-1/+1
* Change how `AttributeSet::Builder` receives its defaultsSean Griffin2017-11-272-15/+15
* Preparing for 5.2.0.beta1 releaseRafael Mendonça França2017-11-271-1/+1
* Merge pull request #31117 from renuo/fix_errors_addedRafael França2017-11-131-3/+7
|\
| * fix bug on added? methodAlessandro Rodi2017-11-131-3/+7
* | Add missing autoload `Type` (#31123)Ryuta Kamizono2017-11-113-2/+1
* | Add missing require "active_support/core_ext/hash/indifferent_access"Ryuta Kamizono2017-11-101-0/+2
* | Add missing requiresyuuji.yaginuma2017-11-101-0/+1
* | Merge pull request #31114 from y-yagi/fix_ruby_warnings_in_active_modelRyuta Kamizono2017-11-102-3/+3
|\ \
| * | Fix "warning: assigned but unused variable - name"yuuji.yaginuma2017-11-101-1/+1
| * | Fix "warning: instance variable @attributes not initialized"yuuji.yaginuma2017-11-101-2/+2
| |/
* / Add missing requiresyuuji.yaginuma2017-11-101-0/+2
|/
* Move Attribute and AttributeSet to ActiveModelLisa Ugray2017-11-0910-74/+828
* Execute `ConfirmationValidator` validation when `_confirmation`'s value is `f...bogdanvlviv2017-11-051-1/+1
* Allow passing a Proc or Symbol as an argument to length validator valuesMatt Rohrer2017-10-261-2/+8
* Merge pull request #30920 from lugray/attributes_to_amSean Griffin2017-10-231-0/+89
|\
| * Start bringing attributes API to AMLisa Ugray2017-10-181-0/+89
* | [Active Model] require => require_relativeAkira Matsuda2017-10-217-25/+25
|/
* Clarify intentions around method redefinitionsMatthew Draper2017-09-011-2/+2
* Use tt in doc for ActiveRecord [ci skip]Yoshiyuki Hirano2017-08-271-2/+2
* Simplify ActiveModel::Errors#generate_messageViktar Basharymau2017-08-181-7/+5
* [ci skip] Postgres --> PostgreSQLRyuta Kamizono2017-08-081-1/+1
* Talk about bytes not charactersRafael Mendonça França2017-07-311-3/+3
* Merge pull request #29788 from kamipo/remove_unused_mutex_mRafael França2017-07-171-7/+4
|\
| * Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-4/+4
| * Remove unused `Mutex_m` in Active ModelRyuta Kamizono2017-07-141-4/+1
* | Allow multiparameter assigned attributes to be used with `text_field`Sean Griffin2017-07-172-0/+8
* | Use frozen string literal in activemodel/Kir Shatrov2017-07-1652-0/+104
|/
* Add ActiveModel::Errors#merge!Jahfer Husain2017-07-071-0/+12
* Fix `ActiveModel::Type::DateTime#serialize`Lisa Ugray2017-07-051-0/+4
* [Active Model] require => require_relativeAkira Matsuda2017-07-017-23/+23
* Fix call-seq typo s/==/<=>/ [ci skip]Ryuta Kamizono2017-06-211-1/+1
* add frozen string literal commentshotat2017-06-151-1/+3
* freeze stringshotat2017-06-141-1/+1
* enhance active model assignmentshotat2017-06-141-2/+3
* Docs: Fix output representation [ci skip]Viktor Fonic2017-05-311-2/+2
* Add option for class_attribute default (#29270)David Heinemeier Hansson2017-05-293-7/+4
* Fix regression in Numericality validator where extra decimal places on Bradley Priest2017-05-271-1/+3
* Fix broken RDoc formattingT.J. Schuck2017-05-261-1/+1
* Define path with __dir__bogdanvlviv2017-05-232-2/+2
* Improving docs for callbacks execution order [ci skip]dixpac2017-05-212-0/+6
* fix ActiveModel::Validator#kind code examples [ci skip]stve2017-05-021-2/+2
* remove uniqueness validators from ActiveModel examplesstve2017-05-022-5/+4
* Fix regexp in the doc [ci skip]Ryuta Kamizono2017-04-241-1/+1
* Move around AR::Dirty and fix _attribute methodAaron Patterson2017-04-142-8/+8
* Merge pull request #28661 from bogdanvlviv/fix-dirty-attributes-if-override-a...Aaron Patterson2017-04-141-4/+8
|\
| * Fix inconsistency with changed attributes when overriding AR attribute readerbogdanvlviv2017-04-121-4/+8