aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* Add changelog for #32956 [ci skip]bogdanvlviv2018-06-121-0/+6
* Fix active_model/errors docs [ci skip]bogdanvlviv2018-06-121-1/+1
* Merge pull request #32956 from Shopify/i18n_activemodel_errors_full_messageRafael França2018-06-114-2/+131
|\
| * Add global config for config.active_model.i18n_full_messageMartin Larochelle2018-06-054-1/+55
| * Allow to override the full_message error formatMartin Larochelle2018-05-222-2/+77
* | PERF: avoid allocating column names where possibleSam2018-06-061-1/+1
* | Ensure casting by boolean attribute when queryingRyuta Kamizono2018-05-291-0/+4
* | Parse raw value only when a value came from user in numericality validatorRyuta Kamizono2018-05-281-2/+4
* | Make force equality checking more strictly not to allow serialized attributeRyuta Kamizono2018-05-251-0/+4
* | Fix user_input_in_time_zone to coerce non valid string into nilAnnie-Claude Côté2018-05-162-0/+17
* | Add missing require for string to timezone conversionAnnie-Claude Côté2018-05-161-0/+1
* | Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-133-13/+13
* | Replace `assert !` with `assert_not`Daniel Colson2018-04-194-7/+7
* | Update validates_inclusion_of exampleCassidy Kobewka2018-04-171-1/+1
|/
* Use string-based fields. [ci skip]Cassidy Kobewka2018-04-161-1/+1
* Inclusive Language in Documentation Examples [ci skip]Cassidy Kobewka2018-04-151-1/+1
* 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
|/
* Merge pull request #32220 from rails/fix-time-columns-on-sqlite3Andrew White2018-03-151-6/+2
|\
| * Normalize date component when writing to time columnsAndrew White2018-03-111-5/+1
| * Apply time column precision on assignmentAndrew White2018-03-111-1/+1
* | Remove changelog header for unreleased versionRafael Mendonça França2018-03-131-2/+0
|/
* 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
* Remove CHANGELOG entries which were backported to 5-2-stableRyuta Kamizono2018-02-281-4/+0
* Alias `assign_attributes` to `attributes=` for `AttributeAssignment`Ryuta Kamizono2018-02-282-0/+10
* Merge pull request #31926 from composerinteralia/am-attributesRafael França2018-02-282-0/+24
|\
| * Add ActiveModel::Attributes#attributesDaniel Colson2018-02-072-0/+24
* | Merge pull request #28270 from mmangino/dont_ignore_seralization_optionsRyuta Kamizono2018-02-273-1/+12
|\ \
| * | Fix styleMike Mangino2017-03-031-1/+1
| * | Don't accidentally lose includes in serializationMike Mangino2017-03-033-4/+13
* | | 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.4.1+Jeremy Daer2018-02-172-1/+6
* | | Rails 6 requires Ruby 2.3+Jeremy Daer2018-02-176-33/+7
* | | Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-2/+1
* | | Remove support to Ruby 2.2Rafael Mendonça França2018-02-161-1/+1
| |/ |/|
* | PERF: Recover marshaling dump/load performance (#31827)Ryuta Kamizono2018-02-022-9/+27
* | Start Rails 6.0 development!!!Rafael Mendonça França2018-01-302-68/+4
* | Don't expose `attributes_with_uninitialized_key` utility methodRyuta Kamizono2018-01-301-5/+6
* | Use assert_empty and assert_not_emptyDaniel Colson2018-01-254-14/+14
* | Use assert_predicate and assert_not_predicateDaniel Colson2018-01-2519-361/+361
* | Change refute to assert_notDaniel Colson2018-01-251-3/+3
* | Use respond_to test helpersDaniel Colson2018-01-254-21/+21
* | Allow attributes with a proc default to be marshalledSean Griffin2018-01-233-0/+38
* | Use singular define_attribute_methodDaniel Colson2018-01-211-1/+1
* | PERF: Recover `changes_applied` performance (#31698)Ryuta Kamizono2018-01-222-70/+43
* | More exercise `ActiveModel::Dirty` testsRyuta Kamizono2018-01-201-3/+24