aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
Commit message (Expand)AuthorAgeFilesLines
* Fix numericality validator not to be affected by custom getterRyuta Kamizono2018-08-131-0/+2
* Merge pull request #31503 from bogdan/timestamp-as-jsonEileen M. Uchitelle2018-08-111-9/+10
|\
| * Fix AM::Serializers::JSON#as_json method for timestampsBogdan Gusiev2017-12-211-9/+10
* | ActiveModel::Naming delegate match? in the same manner as =~ and != (#33466)Bart2018-07-291-1/+17
* | 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-141-1/+1
* | has_secure_password: use `recovery_password` instead of `activation_token`bogdanvlviv2018-07-081-6/+6
* | Shorter code: remove unnecessary conditionclaudiob2018-07-051-1/+1
* | Merge pull request #26764 from choncou/improve_has_secure_passwordRafael Mendonça França2018-06-281-55/+48
|\ \
| * | Remove method for regenerating a token, and update `#authenticate`.Unathi Chonco2016-10-121-40/+16
| * | This addition will now allow configuring an attribute name for theUnathi Chonco2016-10-121-40/+57
* | | 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-112-2/+52
|\ \ \
| * | | Add global config for config.active_model.i18n_full_messageMartin Larochelle2018-06-052-1/+12
| * | | Allow to override the full_message error formatMartin Larochelle2018-05-221-2/+41
* | | | 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-161-0/+2
* | | | Add missing require for string to timezone conversionAnnie-Claude Côté2018-05-161-0/+1
* | | | 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
|/ / /
* | | 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