Monday, November 7, 2011

Re: [Rails] Re: Multiple table inheritance

On 6 November 2011 22:48, Philippe M. <lists@ruby-forum.com> wrote:
> Hi scott
>
> Thanks for ur answer
>
> As you guess i'm a newbie in Rails
> I agree with your answer.
> But technically i still need to find my way.

I believe Scott is suggesting that you just have one class, User or
Person or Company or whatever is appropriate, and put all the
necessary data to allow them to be sellers, buyers or both in that one
table. I believe that is what I would do. The simplest solution is
often the best.

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate