Look up has_many and belongs_to

On Mar 8, 4:03 pm, Greg Ma <[email protected]> wrote:
> Hi,
>
> I have these 3 models:
> City :name
> Product :name
> city_preference :city_id, :product_id, :min, :max
>
> How do i create the associations between these tables?
> Best
> Greg
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to