On 17 April 2013 15:07, Barry <[email protected]> wrote:
> My app lets users to create educational tests on various subjects, and then
> another users can complete them.
> Each User has some kind of Profile. There should be opportunity to add tests
> they like in their profiles, so they don't need to seatch it it then they
> want to complete it again. The problem is that I don't know what relations
> should be between test and profile.
> I don't want them belong to each other, because the logic is not like they
> belong to each other, User can simly add shortcut and easily find required
> test from his profile.
> So I can do this without a relation? Or I can't?

What are the attributes of a Profile object?
Can a use have more than one profile?
Can a profile be associated with more that one user?
I presume a profile can have multiple tests
Can a test be in more than one 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].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/VmLPlgEGeW4J.
> For more options, visit https://groups.google.com/groups/opt_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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to