I've got a class structure similar to this for a family of classes using STI
class Root < ActiveRecord::Base
attr_accessible :root_prop
end
class Child < Root
attr_accessible :child_prop
end
class Grandchild < Child
attr_accessible :gc_prop
end
All my properties were working fine until I added the attr_accesible markers, so I know it is related to that. Now it appears that the properties giving accessible status on the base classes are not getting set. Does attr_accessible need to be set completely for each class, or do I need to look somewhere else for the reason for the values not getting set?