So within rails, using active record, we can have multiple models that inherit user
Base Class - User Sub-Class - Employee, Manager, Supervisor
So in rails we use only one table though when you create a new Employee and when you try to access Employee.salary, though only managers and supervisors should have access to those attributes. How do you protect those? Attr methods?
Thanks in Advance.