eb4a623d74
Previously the reflection would be looked up on the wrong class. However the test passed because the examples referred back to themselves.
5 lines
132 B
Ruby
5 lines
132 B
Ruby
class PriceEstimate < ActiveRecord::Base
|
|
belongs_to :estimate_of, :polymorphic => true
|
|
belongs_to :thing, polymorphic: true
|
|
end
|