Rick Olson
|
def746030c
|
Added Base.abstract_class? that marks which classes are not part of the Active Record hierarchy. closes #3704
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 02:46:01 +00:00 |
|
Rick Olson
|
0859779d6f
|
Allow :dependent options to be used with polymorphic joins. #3820 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3881 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-16 02:10:11 +00:00 |
|
David Heinemeier Hansson
|
4f00c70580
|
Fixed eager loading problems with single-table inheritance [Rick Olson] Added smarter table aliasing for eager associations for multiple self joins [Rick Olson] (closes #3580)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-05 18:43:56 +00:00 |
|
Jamis Buck
|
964b67dd0e
|
Make counter_cache work with polymorphic belongs_to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 15:11:17 +00:00 |
|
David Heinemeier Hansson
|
7a2ce50a93
|
Improved the Oracle OCI Adapter with better performance for column reflection (from #3210), fixes to migrations (from #3476 and #3742), tweaks to unit tests (from #3610), and improved documentation (from #2446) (closes #3879) [Aggregated by schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-21 00:00:29 +00:00 |
|
David Heinemeier Hansson
|
a32a986364
|
save polymorphic joins from the has_many|one association (closes #3812) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 18:03:43 +00:00 |
|
Jeremy Kemper
|
b3065a51a9
|
Polymorphic join support for has_one associations (has_one :foo, :as => :bar). Closes #3785.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-09 19:37:05 +00:00 |
|
David Heinemeier Hansson
|
1facce6c24
|
allow has_many :through to work with custom :foreign key (closes #3422) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3456 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-21 23:40:20 +00:00 |
|
Jamis Buck
|
f9c13e6134
|
Add a test to verify correct behavior when creating a polymorphic association
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-20 21:51:48 +00:00 |
|
Marcel Molina
|
a5708b4c1f
|
Multiple enhancements and adjustments to DB2 adaptor. Closes #3377.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-04 04:17:23 +00:00 |
|
Tobias Lütke
|
90099e9dc2
|
made .find() and class method delegation work on :through relations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-20 21:20:35 +00:00 |
|
Tobias Lütke
|
1d2c6ee8f3
|
added :piggyback option to has_many :through relationships to pick up values from the join table as needed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-20 20:32:47 +00:00 |
|
Tobias Lütke
|
5f06c483ca
|
Fixed :through relations when using STI inherited classes would use the inherited class's name as foreign key on the join model
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-16 23:24:58 +00:00 |
|
David Heinemeier Hansson
|
6427db6baa
|
Added tests for join models and fixed a bug #3177
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-11 18:06:51 +00:00 |
|
Jeremy Kemper
|
1dfa0bd372
|
Don't use transactional fixtures for when DDL changes are involved.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-04 05:40:50 +00:00 |
|
David Heinemeier Hansson
|
6abda696b5
|
Added preliminary support for join models [DHH] Added preliminary support for polymorphic associations [DHH] Refactored associations to use reflections to get DRYer, beware, major refactoring -- double check before deploying anything with this (all tests pass, but..)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-03 04:29:55 +00:00 |
|