Go to http://guides.rubyonrails.org/association_basics.html and you'll find what you need.
As a side note, you should bookmark http://guides.rubyonrails.org/ and get familiar with its' contents. Rick On Wednesday, July 11, 2012 9:47:55 AM UTC-4, Ruby-Forum.com User wrote: > > Hello guys! > I'm new on RoR. I'm testing an application for married person using this > source > https://github.com/serv/Ruby-on-Rails-Tutorial-by-Michael-Hartl--v3.2- > The goal is: > - A sign-in person can only get only one follower ( his wife or husband) > > Where should i modified this app for this features? > Thanks for your help! > > -- > Posted via http://www.ruby-forum.com/. > -- 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 https://groups.google.com/d/msg/rubyonrails-talk/-/k6AvUWw7lxoJ. 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-US.

