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
/
inheritance_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Enable `Lint/UselessAssignment` cop to avoid unused variable warnings (#34904)
Ryuta Kamizono
2019-01-09
1
-2
/
+2
*
Enable `Layout/EmptyLinesAroundBlockBody` to reduce review cost in the future
Ryuta Kamizono
2018-07-12
1
-1
/
+0
*
Fix `CustomCops/AssertNot` to allow it to have failure message
Ryuta Kamizono
2018-05-13
1
-1
/
+1
*
Add AR::Base.base_class? predicate
Bogdan Gusiev
2018-04-02
1
-0
/
+9
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-14
/
+14
*
Fix inheritance object creation from relation
Ryuta Kamizono
2017-12-13
1
-0
/
+39
*
Clarify base_class tests on abstract STI vs concrete STI
Yukio Mizuta
2017-08-12
1
-4
/
+9
*
Refactor Active Record to let Arel manage bind params
Sean Griffin
2017-07-24
1
-1
/
+1
*
Merge pull request #29732 from kirs/frozen-activerecord
Rafael França
2017-07-21
1
-0
/
+2
|
\
|
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
1
-0
/
+2
*
|
Revert "Extract `bind_param` and `bind_attribute` into `ActiveRecord::TestCase`"
Sean Griffin
2017-07-21
1
-0
/
+1
|
/
*
Make preload query to preparable
Ryuta Kamizono
2017-07-07
1
-1
/
+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
*
Fix `default_scoped` with defined `default_scope` on STI model
Ryuta Kamizono
2017-05-31
1
-1
/
+6
*
Define path with __dir__
bogdanvlviv
2017-05-23
1
-1
/
+1
*
Should escape meta characters in regexp
Ryuta Kamizono
2017-05-07
1
-1
/
+1
*
Cache results of computing model type
Konstantin Lazarev
2017-01-03
1
-7
/
+7
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-3
/
+3
*
applies remaining conventions across the project
Xavier Noria
2016-08-06
1
-1
/
+0
*
modernizes hash syntax in activerecord
Xavier Noria
2016-08-06
1
-27
/
+27
*
applies new string literal convention in activerecord/test
Xavier Noria
2016-08-06
1
-61
/
+61
*
Remove log-related stuff from ActiveSupport::Dependencies
Aaron Ang
2016-03-15
1
-5
/
+0
*
Do not use default attributes for STI when instantiating a subclass
Sean Griffin
2016-01-27
1
-0
/
+4
*
Fix test failure on PostgreSQL by sorting the result before comparison
Prathamesh Sonpatki
2016-01-19
1
-4
/
+5
*
run `type` column through attribtues API type casting.
Yves Senn
2016-01-19
1
-0
/
+75
*
don't rely on the columns hash to get defaults. follow-up to #17169.
Yves Senn
2015-12-02
1
-0
/
+24
*
Merge pull request #17169 from kuldeepaggarwal/fix-STI-default-type
Yves Senn
2015-12-02
1
-0
/
+21
|
\
|
*
STI cast new instances to `default type` on initialize.
Kuldeep Aggarwal
2015-12-02
1
-0
/
+20
|
/
*
Move some AR test cases to inheritance_test.rb
yui-knk
2015-10-31
1
-1
/
+80
*
Revert "Merge pull request #21994 from mtodd/inherit-scopes"
Rafael Mendonça França
2015-10-27
1
-2
/
+2
*
Make inherited scope test fail
Matt Todd
2015-10-26
1
-2
/
+2
*
invalid sti error message contains the full class name.
Yves Senn
2015-05-13
1
-0
/
+11
*
Merge branch 'sti-subclass-from-attributes' of https://github.com/agrobbin/ra...
Yves Senn
2015-05-13
1
-0
/
+7
|
\
|
*
allow setting of a demodulized class name when using STI
Alex Robbin
2015-05-11
1
-0
/
+8
|
/
*
tests, extract helpers to modify global state.
Yves Senn
2015-05-07
1
-46
/
+55
*
Always reset changed attributes in becomes
Miklos Fazekas
2015-02-04
1
-0
/
+6
*
Test association was eager loaded, rather than reaching into internals
Sean Griffin
2015-01-26
1
-2
/
+2
*
Go through normal `where` logic when preloading associations
Sean Griffin
2014-12-26
1
-1
/
+1
*
Improve the performance of reading attributes
Sean Griffin
2014-11-18
1
-1
/
+1
*
Remove dead test code for unsupported adapters
Sean Griffin
2014-05-17
1
-8
/
+0
*
Use teardown helper method.
Guo Xiang Tan
2014-03-14
1
-1
/
+1
*
Ensure AR #second, #third, etc. finders work through associations
Jason Meller
2014-01-21
1
-2
/
+2
*
Don't try to get the subclass if the inheritance column doesn't exist
Ujjwal Thaakar
2014-01-14
1
-1
/
+8
*
fix bug in becomes! when changing from base to subclass. Closes #13272.
Yves Senn
2014-01-13
1
-0
/
+11
*
Change all "can not"s to the correct "cannot".
T.J. Schuck
2014-01-03
1
-2
/
+2
*
Port test from cf1904f to avoid future regression
Prem Sichanugrist
2013-10-03
1
-1
/
+5
*
Fix #new with an STI object with complex inheritance
Nate Berkopec
2013-04-02
1
-0
/
+4
*
move tests out from base_test.rb
Takehiro Adachi
2013-03-18
1
-0
/
+14
*
add an missing assertion to inheritance_test.rb
Takehiro Adachi
2013-03-11
1
-0
/
+1
[next]