This project is archived and is in readonly mode.
Changeset [8d0b4fa39fab6e5d1e3382b4b137cc47e559b0be] by josevalim
Revision 8d0b4fa39fab6e5d1e3382b4b137cc47e559b0be,
committed by Repository
· May 24th, 2008 @ 06:58 AM
Added :select option to has_one and belongs_to, remove unused :order option on belongs_to.
Signed-off-by: Michael Koziarski
[#241 state:resolved]
7 changed files
-
M
activerecord/lib/active_record/associations.rb -
M
activerecord/lib/active_record/associations/belongs_to_association.rb -
M
activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb -
M
activerecord/lib/active_record/associations/has_one_association.rb -
M
activerecord/test/cases/associations/belongs_to_associations_test.rb -
M
activerecord/test/cases/associations/has_one_associations_test.rb -
M
activerecord/test/models/company.rb