I have a stock-related rails app, and I want to test the Price model. Each
price object represents daily price
data for a single Equity, which in turn belongs to a single Issuer. I've
run the test with the following fixtures and get this
error:
===
On 7 June 2011 21:42, ddoherty03 ddohert...@gmail.com wrote:
I have a stock-related rails app, and I want to test the Price model. Each
price object represents daily price
data for a single Equity, which in turn belongs to a single Issuer. I've
run the test with the following fixtures and
On 7 June 2011 22:00, ddoherty03 ddohert...@gmail.com wrote:
Colin,
price.rb ===
class Price ActiveRecord::Base
belongs_to :equities
That should be :equity, singular
Colin
--
You received this message because you are subscribed to the
Thanks, Colin. That did it. You 'da man.
Snow blindness strikes again.
Regards,
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To view this discussion on the web visit
4 matches
Mail list logo