[Rails] Scaffolding Extensions plugin and multiple HABTMs

David Mitchell monch1962 at gmail.com
Wed Feb 1 07:19:51 GMT 2006


Hello list,

For a school management application, I've got three tables:
- people
- subjects
- roles (e.g. 'Teacher', 'Student', 'Tutor', 'Lecturer', ...)

The HABTM relationship is 3-way, with the links being stored in the
people_roles_subjects table.  A person can have a role in a subject,
but may have different roles in different subjects - no person can
have more than one role in each subject.

Is it possible to use the Scaffolding Extensions plugin in this
scenario to manage this HABTM data?

Thanks in advance

Dave M.


More information about the Rails mailing list