aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #32498 from eugeneius/mutation_tracker_merge_changesRyuta Kamizono2018-04-101-1/+1
|\
| * Prevent changes_to_save from mutating attributesEugene Kenny2018-04-081-1/+1
* | Avoid generating full changes hash on every saveEugene Kenny2018-04-081-0/+8
|/
* Normalize date component when writing to time columnsAndrew White2018-03-111-5/+1
* Apply time column precision on assignmentAndrew White2018-03-111-1/+1
* Don't call changes in `changes_applied` unless requiredSean Griffin2018-03-061-1/+3
* Revert "PERF: Recover `changes_applied` performance (#31698)"Sean Griffin2018-03-062-43/+70
* Ruby 2.4: take advantage of String#unpack1Jeremy Daer2018-03-012-2/+2
* Alias `assign_attributes` to `attributes=` for `AttributeAssignment`Ryuta Kamizono2018-02-281-0/+2
* Merge pull request #31926 from composerinteralia/am-attributesRafael França2018-02-281-0/+4
|\
| * Add ActiveModel::Attributes#attributesDaniel Colson2018-02-071-0/+4
* | Merge pull request #28270 from mmangino/dont_ignore_seralization_optionsRyuta Kamizono2018-02-271-1/+1
|\ \
| * | Don't accidentally lose includes in serializationMike Mangino2017-03-031-1/+1
* | | Active Model: Use private attr_readerRyuta Kamizono2018-02-264-11/+6
* | | PostgreSQL: Allow BC dates like datetime consistentlyRyuta Kamizono2018-02-231-1/+1
* | | Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-175-29/+6
| |/ |/|
* | PERF: Recover marshaling dump/load performance (#31827)Ryuta Kamizono2018-02-021-9/+11
* | Start Rails 6.0 development!!!Rafael Mendonça França2018-01-301-3/+3
* | Use respond_to test helpersDaniel Colson2018-01-251-12/+12
* | Allow attributes with a proc default to be marshalledSean Griffin2018-01-231-0/+22
* | Use singular define_attribute_methodDaniel Colson2018-01-211-1/+1
* | PERF: Recover `changes_applied` performance (#31698)Ryuta Kamizono2018-01-222-70/+43
* | `deep_dup` is used in `AttributeSet#deep_dup`Ryuta Kamizono2018-01-132-1/+1
* | 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
* | | Bump license years for 2018Yoshiyuki Hirano2017-12-311-1/+1
* | | 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