aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #29018 from willbryant/missing_attributes_after_saveRyuta Kamizono2018-01-031-0/+4
|\
* | Refactor to `Array(options[:on])` only once in defining validationsRyuta Kamizono2018-01-012-11/+13
* | 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-112-2/+0
* | | 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-099-74/+826
* | 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-216-24/+24
|/ /
* | 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-1651-0/+102
|/ /
* | 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-016-22/+22
* | 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-231-1/+1
* | 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