Forum: Ruby on Rails active record association: has only one.

Posted by Piliman Piliman (piliman)
on 2012-07-11 15:47
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-...
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 by Rick Lloyd (ricklloyd)
on 2012-07-11 16:29
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.