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
/
belongs_to_associations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Fix `pluck` and `select` with custom attributes
Ryuta Kamizono
2019-02-13
1
-2
/
+7
*
Address `test_belongs_to_does_not_use_order_by` failure due to checking order...
Yasuo Honda
2019-02-08
1
-1
/
+2
*
Ensure `StatementCache#execute` never raises `RangeError`
Ryuta Kamizono
2019-01-18
1
-7
/
+7
*
No need to handle if FrozenError is available
Yasuo Honda
2018-12-23
1
-2
/
+2
*
More exercise singular association query
Ryuta Kamizono
2018-11-28
1
-3
/
+3
*
Ensure that singular association should execute limited query
Ryuta Kamizono
2018-11-28
1
-3
/
+6
*
Clear QueryCache when reloading associations
Christophe Maximin
2018-10-10
1
-0
/
+24
*
Use `assert_no_queries` not to ignore BEGIN/COMMIT queries
Ryuta Kamizono
2018-10-05
1
-2
/
+2
*
Avoid extra touch queries when counter cache is updated
Ryuta Kamizono
2018-09-27
1
-4
/
+8
*
Remove force parent loading when counter cache child is created/destroyed
Ryuta Kamizono
2018-09-26
1
-1
/
+5
*
Don't update counter cache unless the record is actually saved
Ryuta Kamizono
2018-09-19
1
-6
/
+36
*
Avoid the same `foreign_key` and `counter_cache` associations on `SillyReply`
Ryuta Kamizono
2018-09-19
1
-0
/
+1
*
Fix that association's after_touch is not called with counter cache
Ryuta Kamizono
2018-05-27
1
-0
/
+17
*
Fix inconsistent touching behavior between assigning and unassigning
Ryuta Kamizono
2018-05-27
1
-0
/
+25
*
Fix `belongs_to_counter_cache_after_update` to respect polymorphic type change
Ryuta Kamizono
2018-05-27
1
-1
/
+12
*
Fix `belongs_to_counter_cache_after_update` to respect custom primary key cou...
Ryuta Kamizono
2018-05-26
1
-1
/
+7
*
Fix `different_target?` to respect custom primary key counter
Ryuta Kamizono
2018-05-26
1
-0
/
+7
*
Eager loading won't mutate owner record
Ryuta Kamizono
2018-05-25
1
-0
/
+8
*
Allow a belonging to object to be created from a new record
Jolyon Pawlyn
2018-05-01
1
-0
/
+9
*
Add test case that assigning belongs_to on destroyed object raises frozen error
Ryuta Kamizono
2018-04-27
1
-0
/
+7
*
Fix dependence on has_one/belongs_to relationships
Fernando Gorodscy
2018-03-06
1
-0
/
+24
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-24
/
+24
*
Fix `warning: assigned but unused variable - comment`
Ryuta Kamizono
2017-07-25
1
-1
/
+1
*
Merge pull request #29765 from lugray/fix_counter_cache
Rafael França
2017-07-24
1
-0
/
+11
|
\
|
*
Add test for fixed `counter_cache` double increment
Lisa Ugray
2017-07-19
1
-0
/
+11
*
|
Reset column information after schema changed
yuuji.yaginuma
2017-07-20
1
-0
/
+2
*
|
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
-2
/
+1
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Remove unused `aliased_table_name` in `Association`
Ryuta Kamizono
2017-06-29
1
-1
/
+0
*
Evaluate belongs_to :default option against the owner, not the association
George Claghorn
2017-04-27
1
-0
/
+18
*
Add :default option to belongs_to (#28453)
George Claghorn
2017-03-17
1
-0
/
+20
*
Remove deprecated force reload argument in association readers
Rafael Mendonça França
2016-12-29
1
-6
/
+0
*
"Use assert_nil if expecting nil. This will fail in minitest 6."
Akira Matsuda
2016-12-25
1
-1
/
+1
*
Fix CI failure caused by #25227 and #25280 were merged at the same time
Ryuta Kamizono
2016-12-10
1
-1
/
+1
*
Merge pull request #25280 from kamipo/prevent_range_error_for_belongs_to_asso...
Sean Griffin
2016-12-10
1
-0
/
+14
|
\
|
*
Prevent `RangeError` for `belongs_to` associations
Ryuta Kamizono
2016-10-10
1
-0
/
+14
*
|
Introduce `reload_<association>` reader for singular associations.
Yves Senn
2016-11-22
1
-0
/
+10
*
|
Add more rubocop rules about whitespaces
Rafael Mendonça França
2016-10-29
1
-2
/
+2
|
/
*
Don't unnecessarily load a belongs_to when saving.
James Coleman
2016-08-26
1
-0
/
+6
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-7
/
+7
*
modernizes hash syntax in activerecord
Xavier Noria
2016-08-06
1
-51
/
+51
*
applies new string literal convention in activerecord/test
Xavier Noria
2016-08-06
1
-51
/
+51
*
Give more context from `AssociationMismatchError`
Sean Griffin
2016-05-12
1
-1
/
+1
*
Fix counter_cache double increment bug
Tom Kadwill
2016-04-28
1
-0
/
+11
*
Remove duplicated `test_` prefix [ci skip]
Ryuta Kamizono
2016-03-02
1
-1
/
+1
*
Remove legacy mysql adapter
Abdelkader Boudih
2015-12-17
1
-1
/
+1
*
Don't rely on subsecond precision being applied in tests
Sean Griffin
2015-09-23
1
-1
/
+3
*
Removed duplicate require ‘models/computer’
Ronak Jangir
2015-08-26
1
-1
/
+0
[next]