Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hello, I also started rails by reading your tutorial. I have a question, this post http://stackoverflow.com/a/5612941 suggests that the way to model a friendship is to duplicate rows in a transaction and it cites a book you wrote.

Is this still the way to go? I like the idea of duplicating rows because it simplifies the associations a lot, but I've been warned against it. Is that the way you would do it?

Thanks.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: