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
*
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
*
Merge pull request #19683 from tristang/require-option-for-counter-cache
Rafael Mendonça França
2015-08-13
1
-0
/
+19
|
\
|
*
Add tests for associations without counter_cache
Tristan Gamilis
2015-04-09
1
-0
/
+19
*
|
use `assert_not` instead of `refute` as mentioned in our guides.
Yves Senn
2015-08-13
1
-2
/
+2
*
|
Silence deprecation warning from force reload
Prem Sichanugrist
2015-07-16
1
-6
/
+12
*
|
Deprecate force association reload by passing true
Prem Sichanugrist
2015-07-15
1
-0
/
+6
*
|
Merge pull request #20552 from jamesdabbs/belongs-to-polymorphic-force-reload
Yves Senn
2015-06-23
1
-0
/
+2
|
\
\
|
*
|
Fix `undefined method uncached` for polymorphic belongs_to #20426
James Dabbs
2015-06-13
1
-0
/
+1
*
|
|
Merge pull request #20545 from dcrec1/20541
Yves Senn
2015-06-23
1
-0
/
+26
|
\
\
\
|
*
|
|
thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for...
Diego Carrion
2015-06-22
1
-0
/
+18
|
/
/
/
*
/
/
raise ActiveModel::MissingAttributeError when trying to access a relationship...
Diego Carrion
2015-06-16
1
-0
/
+4
|
/
/
*
|
Rename association option :class to :anonymous_class
Andrew White
2015-04-21
1
-2
/
+2
*
|
Batch touch parent records
Arthur Neves
2015-04-08
1
-0
/
+18
|
/
*
Require `belongs_to` by default.
Josef Šimánek
2015-02-21
1
-0
/
+50
*
Test association was eager loaded, rather than reaching into internals
Sean Griffin
2015-01-26
1
-2
/
+2
*
Build fix when running in isolation
Arun Agrawal
2014-11-14
1
-0
/
+1
*
default scopes should break the cache on singulur_association.
alfa-jpn
2014-11-08
1
-0
/
+29
*
Include fixtures to prevent foreign key violation.
Zuhao Wan
2014-07-09
1
-0
/
+2
*
Re-enable foriegn key tests on MySQL
Godfrey Chan
2014-07-05
1
-2
/
+0
*
Do not change the global state of the test suite
Rafael Mendonça França
2014-06-27
1
-18
/
+1
*
Improve tests to use add_foreign_key DSL
Rafael Mendonça França
2014-06-27
1
-18
/
+11
*
MySQL doesn't works with foreign key
Rafael Mendonça França
2014-06-27
1
-3
/
+2
[next]