Thanks Jordon, I already read this article, and this is why I have my doubt.
On Friday, December 14, 2012 7:51:09 PM UTC-4:30, Jordon Bedwell wrote:

On Fri, Dec 14, 2012 at 5:48 PM, Jean < <javascript:>>
I'm new in rails and I've some doubts about what kind of relationship do I
have to use. Here the case.

I have two models Offer and User, a user could apply to many offers and
offers can have many user also the users create the offers.

I think I have to use a has_many :through ralationship. for example I create
another model "Applicant", applicant belongs_to user and belongs_to offer.
But how is the relationship from the user and offer model? for example
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
To unsubscribe from this group, send email to
To view this discussion on the web visit
For more options, visit

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 4 | next ›
Discussion Overview
grouprubyonrails-talk @
postedDec 14, '12 at 11:48p
activeDec 15, '12 at 3:08a



site design / logo © 2021 Grokbase