This project is archived and is in readonly mode.

Changeset [99c103be1165da9c8299bc0977188ecf167e06a5] by Ruy Asan

May 1st, 2009 @ 10:47 PM

Fixed bug with polymorphic has_one :as pointing to an STI record

[#2594 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

Committed by Ruy Asan

  • M activerecord/lib/active_record/associations/has_one_association.rb
  • M activerecord/test/cases/associations/has_one_associations_test.rb
  • M activerecord/test/fixtures/organizations.yml
  • M activerecord/test/fixtures/sponsors.yml
  • M activerecord/test/models/organization.rb
  • M activerecord/test/schema/schema.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>