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
declare them only in Bar1?
On Tue, Apr 29, 2008 at 7:27 AM, Kai S.
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
raise ‘you cant read that!’
On Wed, Apr 30, 2008 at 5:31 AM, Kai S.