# Learning Active Record is tough for a newb

**URL:** <https://discuss.rubyonrails.org/t/learning-active-record-is-tough-for-a-newb/838>\
**Category:** rubyonrails-talk\
**Created:** [August 31, 2006, 7:38am UTC](https://discuss.rubyonrails.org/t/learning-active-record-is-tough-for-a-newb/838 "2006-08-31T07:38:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gareth\_Adams](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@Gareth\_Adams](https://discuss.rubyonrails.org/u/Gareth_Adams)\
**Post date:** [August 31, 2006, 7:38am UTC](https://discuss.rubyonrails.org/t/learning-active-record-is-tough-for-a-newb/838/1 "2006-08-31T07:38:19Z")

</div>

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 &nbsp;&nbsp;&nbsp;&nbsp;has\_many :houses &nbsp;&nbsp;&nbsp;&nbsp;# has\_many\_in :houses # doesn't seem right end

class House \< ActiveRecord::Base &nbsp;&nbsp;&nbsp;&nbsp;belongs\_to :millionaire end

Gareth
