It sounds as though You may be defining the relationship as a course
"has many" students, and student "belongs to" course.
It might be that you need a "has many through", or "has and belongs to
many"
because each student has many courses, but each course also has many
students.

On Mar 29, 8:07 am, Quiliro Ordóñez <[email protected]> wrote:
> I have made an app with two models:
> student
> course
>
> The idea of the app is that the clerk can check the last course a
> particular student has taken and to show what course he/she should take
> now. I have found that if I include
> children :student
> in the course model I cannot search by student but by course which is
> not what I want.
>
> Thank you very much for your suggestions.
>
> --
> Quiliro Ord ez
> 09 821 8696
> 02 340 1517

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to