aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
Commit message (Expand)AuthorAgeFilesLines
* ActiveModel::Naming delegate match? in the same manner as =~ and != (#33466)Bart2018-07-291-1/+17
* Turn on performance based copsDillon Welch2018-07-231-15/+1
* Merge pull request #30919 from seanlinsley/17622-before_save_strict_argumentsRyuta Kamizono2018-07-231-7/+9
|\
| * add strict argument checking to ActiveRecord callbacksSean Linsley2018-07-221-7/+9
|/
* Ensure attribute is a symbol in the added? methodJeremy Baker2018-07-142-1/+7
* has_secure_password: use `recovery_password` instead of `activation_token`bogdanvlviv2018-07-084-15/+15
* Improve `SecurePasswordTest#test_authenticate`bogdanvlviv2018-07-061-4/+7
* Shorter code: remove unnecessary conditionclaudiob2018-07-051-1/+1
* Fix Ruby warnings tickled by the test suiteutilum2018-06-301-1/+2
* Merge pull request #26764 from choncou/improve_has_secure_passwordRafael Mendonça França2018-06-284-56/+72
|\
| * Remove method for regenerating a token, and update `#authenticate`.Unathi Chonco2016-10-123-61/+25
| * This addition will now allow configuring an attribute name for theUnathi Chonco2016-10-124-41/+93
* | 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