I would like to implement something along the lines of multi table inheritance for my rails application. I am familiar with how STI works and was wondering if the implementation would be similar.
My situation is as follows (names of tables have been changed):
I have a table Employee, and Employee has many janitors and programmers. Janitors and Programmers have many different types of work utensils, so a custodial Table would fit the janitor and Tech table would fit the programmer. Well the jobs could be endless and the attributes for the jobs (janitors, programmers etc) are different so they must be separate tables. I want to consolidate a table called Jobs which belongs under Employee. This table Jobs will have a job_type (here it can be either janitor or programmer) and a utensil_type (custodial, tech). How can I properly implement what this scenario is trying to achieve?
I know how important the type is for STI so I want to know how I can implement this MTI for my rails problem?