Forum: Ruby on Rails Database arquitecture for Soccer World Cup Pool

10ae43b7e2ab1ccc7c09205989986a2a?d=identicon&s=25 Max Holzheu (Guest)
on 2014-05-07 22:01
(Received via mailing list)
Hi guys!

I'm starting with Ruby on Rails and am trying to build a Pool for the
WC.

I'm a bit confused as to how my MVC should look like (specifically the
database).

What I've done so far is

1. created the users: controller, model and views
2. created fixtures: model, controller


Is this the right approach? Please ask if you need more info.

Thanks!
B7088b19fe31a3bdb9d4d460e7d45a91?d=identicon&s=25 unknown (Guest)
on 2014-05-07 22:40
(Received via mailing list)
Max

While I'm still learning Ruby on Rails (But heck played with my first
'non
hartl tutorial' gem in paperclip myself this past weekend) I am very
much a
database design and normalization kind of guy - if you can provide more
information on what your pool for the world cup entails I'd be more than
happy to help you work out the database information.

How does your pool work?  What sort of competition is it?  What sort of
data do you want to display (to dteremine the need for indeces) - what
do
you mean by 'fixtures'?

Off the top of my head a tournament tool database requires entrants,
teams,
and a table to track various picks.

I have thought about creating a 'tournament' application that would
build
tournament brackets based on the type of tournmament, entries, etc...

Anyone else interested in that?:)
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.