Learning Active Record is tough for a newb

Dominic Son <rails-mailing-list@...> writes:

But please correct me if i'm wrong:
to better conceptualize all the different relationships, think of them
as this:
has_many_in :your_association
has_one_in :your association

otherwise, just trying to read ' has_many' is kinda vague. It could mean
'has_many_of', and if you think of it like that, your association would
then turn into a 'has_one' instead of many...

just imagining an 'in' at the end of your relationships makes it so much
clearer.

Insights?

class Millionaire < ActiveRecord::Base
    has_many :houses
    # has_many_in :houses # doesn't seem right
end

class House < ActiveRecord::Base
    belongs_to :millionaire
end

Gareth