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
*
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
*
Fix ActiveRecord `subclass_from_attrs` when eager_load is false.
Dmitry Vorotilin
2013-03-06
1
-0
/
+11
*
User assert_kind_of, invert assert_equal expectations
Carlos Antonio da Silva
2012-11-29
1
-3
/
+3
*
Added STI support to init and building associations
Jason Rush
2012-11-29
1
-0
/
+23
*
Remove ActiveRecord::Model
Jon Leighton
2012-10-26
1
-10
/
+1
*
test cleanup, remove ruby_type because it's no longer needed
Yves Senn
2012-09-03
1
-1
/
+1
*
rewrite inheritance tests with a custom inheritance_column
Yves Senn
2012-09-03
1
-48
/
+38
*
set the configured #inheritance_column on #become (#7503)
Yves Senn
2012-09-03
1
-1
/
+9
*
Remove ActiveRecord::Base.to_a
Jon Leighton
2012-08-03
1
-2
/
+2
*
Deprecate ActiveRecord::Base.scoped.
Jon Leighton
2012-07-27
1
-12
/
+12
*
ActiveRecord::Base.all returns a Relation.
Jon Leighton
2012-07-27
1
-6
/
+6
*
Refactor ActiveRecord::Inheritance.base_class logic
beerlington
2012-07-26
1
-0
/
+30
*
remove deprecated calls
Jon Leighton
2012-04-27
1
-2
/
+2
*
find and replace deprecated keys
Jon Leighton
2012-04-27
1
-7
/
+7
*
%s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...
Jon Leighton
2012-04-27
1
-10
/
+10
*
remove calls to find(:first), find(:last) and find(:all)
Jon Leighton
2012-04-26
1
-4
/
+4
*
Support establishing connection on ActiveRecord::Model.
Jon Leighton
2011-12-28
1
-1
/
+0
*
Deprecate set_inheritance_column in favour of self.inheritance_column=
Jon Leighton
2011-11-29
1
-2
/
+2
*
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
Aaron Patterson
2011-06-06
1
-1
/
+1
*
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...
Jon Leighton
2011-06-04
1
-1
/
+1
*
Rewrote AssociationPreload.
Jon Leighton
2011-02-28
1
-1
/
+1
*
just use a hash for doing association caching
Aaron Patterson
2011-01-07
1
-1
/
+1
*
take more advantage of arel sql compiler
Aaron Patterson
2010-12-25
1
-1
/
+1
*
stop redifining methods on every call to set_primary_key
Aaron Patterson
2010-12-24
1
-0
/
+4
*
fixing dup regressions
Aaron Patterson
2010-11-23
1
-1
/
+1
[next]