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
/
has_many_associations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Remove unused requires
Ryuta Kamizono
2018-08-25
1
-3
/
+1
*
Add test case to test enum in has_many
Rich
2018-08-25
1
-0
/
+22
*
Add method_call_assertions and use them instead of Mocha
utilum
2018-08-13
1
-12
/
+20
*
Fix `collection.create` to could be rolled back by `after_save`
Ryuta Kamizono
2018-06-07
1
-0
/
+11
*
Fix `CustomCops/AssertNot` to allow it to have failure message
Ryuta Kamizono
2018-05-13
1
-1
/
+1
*
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
*
|
Loaded associations should not run a new query when size is called
Graham Turner
2018-04-26
1
-0
/
+74
|
/
*
Add test case for `collection.size` with dirty target
Ryuta Kamizono
2018-04-21
1
-0
/
+10
*
Replace `assert !` with `assert_not`
Daniel Colson
2018-04-19
1
-2
/
+2
*
Fix intermittent CI failure due to setting explicit `person.id = 10`
Ryuta Kamizono
2018-03-30
1
-4
/
+0
*
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
1
-6
/
+6
*
Remove extra whitespace
Daniel Colson
2018-01-25
1
-14
/
+14
*
Use assert_empty and assert_not_empty
Daniel Colson
2018-01-25
1
-10
/
+10
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-64
/
+64
*
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
*
|
Bugfix foreign key replacement in inverse association
Bogdan Gusiev
2017-12-27
1
-0
/
+9
*
|
Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed more
Ryuta Kamizono
2017-12-12
1
-1
/
+1
*
|
Set counter caches to correct values in fixtures
Bogdan Gusiev
2017-11-08
1
-1
/
+1
*
|
Add deterministic sorting order for `test_taking_with_a_number`
Ryuta Kamizono
2017-08-18
1
-1
/
+9
*
|
Fix `reflection.association_primary_key` for `has_many` associations
Ryuta Kamizono
2017-08-13
1
-3
/
+14
*
|
Merge remote-tracking branch 'origin/master' into unlock-minitest
Rafael Mendonça França
2017-08-01
1
-30
/
+29
|
\
\
|
*
|
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
|
*
|
Remove extra `.merge!(order: "id")` for `Relation#first` in tests
Ryuta Kamizono
2017-07-13
1
-30
/
+27
*
|
|
Merge branch 'master' into unlock-minitest
Kasper Timm Hansen
2017-07-15
1
-2
/
+57
|
\
|
|
|
*
|
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
|
*
|
Merge pull request #29540 from kirs/rubocop-frozen-string
Matthew Draper
2017-07-02
1
-0
/
+1
|
|
\
\
|
|
*
|
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
|
*
|
|
Merge pull request #29631 from kamipo/should_be_clear_association_ids
Matthew Draper
2017-07-01
1
-0
/
+5
|
|
\
\
\
|
|
*
|
|
Should be clear `@association_ids` when joined newly associated record
Ryuta Kamizono
2017-06-30
1
-0
/
+5
|
|
|
/
/
|
*
|
|
Merge pull request #28808 from fschwahn/fix-polymorphic-automic-inverse
Matthew Draper
2017-07-01
1
-0
/
+14
|
|
\
\
\
|
|
|
/
/
|
|
/
|
|
|
|
*
|
Add regression test for setting inverse instances on normal & polymorphic rel...
Fabian Schwahn
2017-04-20
1
-0
/
+14
|
*
|
|
Merge pull request #29611 from kamipo/add_test_case_for_unscoping_default_scope
Rafael França
2017-06-28
1
-2
/
+3
|
|
\
\
\
|
|
*
|
|
Add a test case for unscoping `default_scope` in associations
Ryuta Kamizono
2017-06-29
1
-2
/
+3
|
*
|
|
|
Use `reload` in `test_find_first_after_reload`
Ryuta Kamizono
2017-06-28
1
-10
/
+10
|
|
/
/
/
|
*
|
|
Move clearing of @offsets cache to reset_scope
John Hawthorn
2017-06-21
1
-12
/
+21
|
*
|
|
Clear offset cache on CollectionProxy reset/reload
John Hawthorn
2017-06-20
1
-0
/
+26
*
|
|
|
Merge branch 'master' into unlock-minitest
Rafael Mendonça França
2017-06-02
1
-2
/
+10
|
\
|
|
|
|
*
|
|
Correct a has_many association test
Koichi ITO
2017-06-01
1
-1
/
+1
|
*
|
|
Fix association with extension issues
Ryuta Kamizono
2017-05-28
1
-1
/
+9
*
|
|
|
Merge branch 'master' into unlock-minitest
Kasper Timm Hansen
2017-05-29
1
-3
/
+3
|
\
|
|
|
|
*
|
|
Restore `fixtures :author_addresses`
Ryuta Kamizono
2017-04-27
1
-3
/
+3
*
|
|
|
Fix the random failure of `test_create_resets_cached_counters`
Prathamesh Sonpatki
2017-04-26
1
-0
/
+3
|
/
/
/
*
|
|
Merge pull request #28885 from kamipo/remove_useless_test_case
Rafael França
2017-04-26
1
-5
/
+0
|
\
\
\
|
*
|
|
Remove useless test case
Ryuta Kamizono
2017-04-26
1
-5
/
+0
*
|
|
|
Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...
Rafael Mendonça França
2017-04-26
1
-3
/
+3
|
/
/
/
[next]