search for: subject_lesson

Displaying 1 result from an estimated 1 matches for "subject_lesson".

Did you mean: subject_lessons
2008 Dec 28
3
php's __call for ruby? or better approach?
...ls thing, so please be patient with me :) -------- (skip to next -------- if you want to quickly see the problem) I am learning by creating something like timetable application (like in school). There are days 1-5 and lessons 1-8. I have to db tables, subjects, which is the list of subjects, and subject_lessons, which is assocation of a subject to a particular day and lesson. It''s a one-to-many relationship, because one subject can be assigned to more lessons, but on one lesson there could be only one subject. Now I''ve been playing with select and collection_select, and I found out, th...