single table inheritance: declare non-shared attributes

Hi! I have a Model Foo and two subclasses Bar1 and Bar2. Bar1 have some attributes which shouldn't be accessible in Bar2 (because they aren't needed), what is the best practice to declare such attributes as non-shared? Thx!

declare them only in Bar1?

These attributes have columns in the underlying table, and ActiveRecord make them accessible by default...

maybe redefine the 'hidden' fields in the model they're not supposed to be used in. A la class Foo < Item def attribut_used_by_bar raise 'you cant read that!' end end