On Tuesday, March 14, 2017 at 5:31:15 PM UTC-4, Colin Law wrote: > > On 14 March 2017 at 21:09, fugee ohu <[email protected] <javascript:>> > wrote: > > > > > > On Tuesday, March 14, 2017 at 3:56:22 PM UTC-4, Colin Law wrote: > >> > >> On 14 March 2017 at 12:32, fugee ohu <[email protected]> wrote: > >> > For an SN site should there be a Profile model A user's gotta have a > >> > profile > >> > I guess right? Then who should pictures belong to, the user or the > >> > user's > >> > profile? > >> > >> Can you give us a clue as to which meaning of SN you are using? > >> https://en.wikipedia.org/wiki/SN does not seem to offer anything that > >> looks particularly likely. > >> > >> Colin > > > > Social Networking > > What is in the users table and what is in the profiles table? You > might want to combine them into one table. Why make things complicated > unless there is a good reason? > > If you do have separate tables then the question as to whether the > pictures belong to the profile or the user is just a matter of how you > wish to organise it. Think about the problem in real world terms. > Would the actual user think of the pictures as being his, or would he > think that they are the property of his profile? > > Colin > > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Ruby on Rails: Talk" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/rubyonrails-talk/0a8c94f8-0b8d-47f5-9380-6193445137b1%40googlegroups.com. > > > > > > For more options, visit https://groups.google.com/d/optout. >
Originally I'd thought to allow users to have multiple profiles (you might call them "personas") and I just about built the entire site and now I change my mind and wanna take the profile model out -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e4ba194d-a062-4e4b-b681-9253c6fc395f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

