index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
cases
/
associations
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix `CustomCops/AssertNot` to allow it to have failure message
Ryuta Kamizono
2018-05-13
3
-6
/
+6
*
Allow a belonging to object to be created from a new record
Jolyon Pawlyn
2018-05-01
1
-0
/
+9
*
Merge pull request #32727 from utilum/assert_dont_expects
Rafael França
2018-04-27
1
-9
/
+13
|
\
|
*
assert_called
utilum
2018-04-26
1
-3
/
+4
|
*
assert_not_called
utilum
2018-04-26
1
-6
/
+9
*
|
Ensure that `ids_reader` respects dirty target whether target is loaded or not
Ryuta Kamizono
2018-04-27
1
-2
/
+2
*
|
Merge pull request #32617 from tgturner/size-should-use-available-association
Ryuta Kamizono
2018-04-27
1
-0
/
+74
|
\
\
|
*
|
Loaded associations should not run a new query when size is called
Graham Turner
2018-04-26
1
-0
/
+74
|
|
/
*
/
Add test case that assigning belongs_to on destroyed object raises frozen error
Ryuta Kamizono
2018-04-27
1
-0
/
+7
|
/
*
Using existing models for building multiple has_one through tests
Ryuta Kamizono
2018-04-22
1
-16
/
+12
*
Merge pull request #32514 from samdec/multiple-has-one-through-associations-b...
Ryuta Kamizono
2018-04-22
1
-0
/
+22
|
\
|
*
Fix .new with multiple through associations
Sam DeCesare
2018-04-09
1
-0
/
+22
*
|
Add test case for `collection.size` with dirty target
Ryuta Kamizono
2018-04-21
1
-0
/
+10
*
|
Can preload associations through polymorphic associations
Dana Sherson
2018-04-20
1
-0
/
+29
*
|
Replace `assert !` with `assert_not`
Daniel Colson
2018-04-19
5
-6
/
+6
|
/
*
Autocorrect `refute` RuboCop violations
Daniel Colson
2018-04-03
2
-2
/
+2
*
Fix intermittent CI failure due to setting explicit `person.id = 10`
Ryuta Kamizono
2018-03-30
1
-4
/
+0
*
Don't unset foreign key when preloading missing record
Eugene Kenny
2018-03-24
1
-0
/
+2
*
Fix dependence on has_one/belongs_to relationships
Fernando Gorodscy
2018-03-06
2
-0
/
+48
*
Eager loading with polymorphic associations should behave consistently
Ryuta Kamizono
2018-03-04
1
-2
/
+4
*
Extract all `base_class.name` as `polymorphic_name`
Ryuta Kamizono
2018-03-04
1
-9
/
+23
*
Fix "NameError: uninitialized constant Categorization::Category"
yuuji.yaginuma
2018-02-26
1
-0
/
+1
*
Merge pull request #31895 from kamipo/do_not_attempt_to_find_inverse_of_polym...
Ryuta Kamizono
2018-02-26
1
-0
/
+10
|
\
|
*
Make `reflection.klass` raise if `polymorphic?` not to be misused
Ryuta Kamizono
2018-02-19
1
-0
/
+10
*
|
Association creation and finding should work consistently (#32048)
Ryuta Kamizono
2018-02-26
1
-5
/
+35
|
/
*
Association scope's own order should be prioritized over through scope's order
Ryuta Kamizono
2018-02-18
1
-0
/
+7
*
Deprecate update_attributes and update_attributes!
Eddie Lebow
2018-02-17
2
-7
/
+7
*
Merge pull request #31934 from fatkodima/fix-has_many_through-dumping
Ryuta Kamizono
2018-02-09
1
-0
/
+5
|
\
|
*
Fix marshaling of models with `has_many :through` associations
fatkodima
2018-02-08
1
-0
/
+6
|
/
*
Remove extra whitespace
Daniel Colson
2018-01-25
4
-25
/
+25
*
Use assert_empty and assert_not_empty
Daniel Colson
2018-01-25
9
-68
/
+68
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
13
-242
/
+242
*
Use respond_to test helpers
Daniel Colson
2018-01-25
1
-1
/
+1
*
Fix building has_one through record
Ryuta Kamizono
2018-01-23
1
-0
/
+12
*
Don't update counter cache when through record was not destroyed
Eugene Kenny
2018-01-14
1
-0
/
+10
*
Merge pull request #23146 from piotrj/issue_18424
Ryuta Kamizono
2018-01-11
1
-0
/
+19
|
\
|
*
When deleting through records, take into account association conditions
Piotr Jakubowski
2016-05-04
1
-0
/
+16
*
|
Fix `stale_state` for nested `has_many :through` associations
Ryuta Kamizono
2018-01-10
1
-12
/
+28
*
|
Merge pull request #16314 from zoltankiss/allow-nested-has-many-associations-...
Ryuta Kamizono
2018-01-10
1
-0
/
+29
|
\
\
|
*
|
Fix nested `has many :through` associations on unpersisted instances
Zoltan Kiss
2015-03-26
1
-0
/
+29
*
|
|
Fix newly added reflection order when redefining association
Ryuta Kamizono
2018-01-04
1
-1
/
+1
*
|
|
Merge pull request #27561 from fishbrain/count-all-in-has-many-association
Ryuta Kamizono
2018-01-03
1
-0
/
+8
|
\
\
\
|
*
|
|
Use `count(:all)` in HasManyAssociation#count_records
Klas Eskilson
2017-02-07
1
-0
/
+8
*
|
|
|
Add test case for `collection_singular_ids` with symbol primary keys
Ryuta Kamizono
2018-01-01
1
-0
/
+8
*
|
|
|
Bugfix foreign key replacement in inverse association
Bogdan Gusiev
2017-12-27
1
-0
/
+9
*
|
|
|
Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the future
Ryuta Kamizono
2017-12-14
3
-7
/
+7
*
|
|
|
Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed more
Ryuta Kamizono
2017-12-12
2
-2
/
+2
*
|
|
|
Merge pull request #31214 from chopraanmol1/bug_fix_has_one_inverse_owner_rel...
Eileen M. Uchitelle
2017-11-29
1
-0
/
+10
|
\
\
\
\
|
*
|
|
|
Inverse instance should not be reloaded during autosave if called in validation
Anmol Chopra
2017-11-27
1
-0
/
+10
*
|
|
|
|
Provide arguments to RecordNotFound
Nikita Misharin
2017-11-25
1
-1
/
+4
|
/
/
/
/
[next]