Do you mean by having a Timesheet that has a employee id, the date and the 
hours worked?


On Tuesday, April 7, 2015 at 1:36:55 PM UTC+1, Dave Aronson wrote:
>
> On Tue, Apr 7, 2015 at 5:41 AM, Bruno Walraven <[email protected] 
> <javascript:>> wrote: 
>
> > I have a Employee model, a Timesheet model and a Payment model. 
> > The Employee has many Timesheets and a Timesheet has many Employees. 
>
> Are you sure you don't mean a Timesheet has *one* Employee? 
>
> -- 
> Dave Aronson, consulting software developer of Codosaur.us, 
> PullRequestRoulette.com, Blog.Codosaur.us, and Dare2XL.com. 
>

-- 
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/3c168700-e2e3-46b9-95c9-08af33ce1433%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to