I'm trying to develop a ActiveRecord plugin but run into the following
problem: I pass arguments to
write_inheritable_attribute :some_field, 'value'
in ClassMethods module and I'm available to get them in InstanceMethods
with self.class.some_field. But when I try to do like this:
I get NoMethodError: undefined method `some_field' for Module:Class
Anybody could help with this?