aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #36671 from wjessop/do_not_validate_non_dirty_association_...Eileen M. Uchitelle2019-07-242-0/+12
|\
| * Don't validate non dirty association targetsWill Jessop2019-07-152-0/+12
* | Fix errors getting duplicated when passed validations options:Edouard CHIN2019-07-101-1/+2
|/
* Merge pull request #36210 from vishaltelangre/raise-record-invalid-when-assoc...Rafael França2019-06-242-0/+7
|\
| * Fix: ActiveRecord::RecordInvalid is not raised when an associated record fail...Vishal Telangre2019-05-102-0/+7
* | Merge pull request #35891 from Shopify/schema-cache-deduplicationKasper Timm Hansen2019-06-191-9/+9
|\ \
| * | Deduplicate various Active Record schema cache structuresJean Boussier2019-06-031-9/+9
* | | Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-135-5/+0
|/ /
* | Fix comment for "broken" inverse_of associations [ci skip]Petrik2019-05-281-1/+1
* | Fix eager loading associations with string joins not to raise NoMethodErrorRyuta Kamizono2019-05-151-0/+1
|/
* Namespace association extension modules under the owner modelJean Boussier2019-05-021-8/+8
* Make scope arity check consistent (#36134)Rob Trame2019-05-011-0/+1
* Fix merging left_joins to maintain its own `join_type` contextRyuta Kamizono2019-04-271-0/+1
* Merge pull request #32313 from lulalala/model_error_as_objectRafael França2019-04-241-6/+6
|\
| * Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-6/+6
* | Merge pull request #35869 from abhaynikam/35866-add-touch-option-for-has-one-...Ryuta Kamizono2019-04-251-1/+3
|\ \
| * | Adds touch option to has_one associationAbhay Nikam2019-04-251-1/+3
* | | Avoid redundant `attribute_alias?` before `attribute_alias`Ryuta Kamizono2019-04-241-2/+2
|/ /
* | Fix `automatic_inverse_of` not to be disabled if extension block is givenRyuta Kamizono2019-04-121-0/+4
* | Revert "Remove unused callbacks in the `Topic` model"Ryuta Kamizono2019-04-101-0/+4
* | Remove unused callbacks in the `Topic` modelRyuta Kamizono2019-04-101-4/+0
* | Merge pull request #28155 from lcreid/belongs_toRyuta Kamizono2019-04-103-0/+18
|\ \
| * | Fix circular `autosave: true`Larry Reid2018-07-233-0/+18
* | | There is no need to check `null_relation?` in `empty_scope?`Ryuta Kamizono2019-04-061-0/+4
| |/ |/|
* | Add Relation#annotate for SQL commentingMatt Yoho2019-03-211-0/+16
* | Fixed reselect throwing NoMethodError on ActiveRecord.Abhay Nikam2019-03-031-0/+6
* | Use the correct model in the testRafael Mendonça França2019-03-011-1/+1
* | Use dedicated `Topic` model for `SerializedAttributeTest`Ryuta Kamizono2019-02-281-4/+0
* | Allow returning nil for `default_scope`Ryuta Kamizono2019-02-281-0/+1
* | Fix test that was broken by adding a default scope to an existing modelRafael Mendonça França2019-02-262-0/+8
* | Fix preload with nested associationsRafael Mendonça França2019-02-261-0/+2
* | Merge pull request #35327 from abhaynikam/use-delete-by-and-destroy-by-methodRyuta Kamizono2019-02-201-1/+1
|\ \
| * | Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-201-1/+1
* | | Merge pull request #35247 from bogdan/fix-source-reflection-reset-codeRyuta Kamizono2019-02-201-0/+1
|\ \ \ | |/ / |/| |
| * | Fix reset of the source association when through association is loadedBogdan Gusiev2019-02-201-0/+1
* | | Fix eager loading polymorphic association with mixed table conditionsRyuta Kamizono2019-02-181-0/+1
* | | Fix `order` with custom attributesRyuta Kamizono2019-02-171-0/+4
* | | Revert "Merge pull request #35186 from kamipo/fix_leaking_scope_on_relation_c...Ryuta Kamizono2019-02-151-2/+2
* | | Revert "Chaining named scope is no longer leaking to class level querying met...Ryuta Kamizono2019-02-142-3/+2
* | | Fix `pluck` and `select` with custom attributesRyuta Kamizono2019-02-133-1/+10
|/ /
* | Fix `relation.create` to avoid leaking scope to initialization block and call...Ryuta Kamizono2019-02-071-0/+5
* | Chaining named scope is no longer leaking to class level querying methodsRyuta Kamizono2019-02-061-0/+7
* | Add regression test for has_many through record creationRyuta Kamizono2019-02-011-0/+2
* | Remove unused codebogdanvlviv2019-01-301-8/+0
* | Ensure `StatementCache#execute` never raises `RangeError`Ryuta Kamizono2019-01-181-0/+1
* | Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28...Laerti2019-01-152-0/+11
* | Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-111-0/+5
* | Merge pull request #34572 from kamipo/fix_scoping_with_query_methodRyuta Kamizono2018-11-301-0/+1
|\ \
| * | Fix the scoping with query methods in the scope blockRyuta Kamizono2018-11-301-0/+1
* | | Merge pull request #34528 from DmitryTsepelev/fix-ignored-attributesRafael França2018-11-271-0/+14
|\ \ \ | |/ / |/| |