[Rails] Re: Help with model association

2008-12-30 Thread MaD
of course you can do it like this. you have acertain amount of workouts and trainees and add a new training every time you want. your models seem correct. your request would be like: - Workout.find(:first, :order = :elapsed_time).trainee ... --~--~-~--~~~---~--~~

[Rails] Re: Help with model association

2008-12-30 Thread Petr Ruzicka
Thanks, I'll try it. Petr On Dec 30, 9:56 am, MaD mayer.domi...@gmail.com wrote: of course you can do it like this. you have acertain amount of workouts and trainees and add a new training every time you want. your models seem correct. your request would be like: - Workout.find(:first,