user has many events through statistics and registrations
registrations contains whether or not the user was on the event,
statistics contains what he did on the event.
I think it is better to make 2 tables since I don't need a statistics
record if the user was not present (registration.present = 0). But
maybe someone has an other view ont this?
I want to create a eventview (show) where an admin can enter/change
the event data. The admin should be able to insert whether the user
was present (with a checkbox) and if present a form is shown on the
same row where the statistics data can be entered (minutes
I'm trying to edit 2 models here: statistics and registrations.
The problem is that I don't really have a clue on where to start.
Maybe Someone can point me in the good direction?