09.09.2010 15:34, Bernhard Leicher wrote:
> Any idea on how I could achieve what I want? 

Maybe I missed something but I don't understand what's wrong with
putting line like

    attribute :boolean

in fields? You can use then Model#attribute, Model#attribute=, and
Model#read_attribute(:attribute). Only problem is that
Model#instance_variable_get(:@attributes_cache) returns '' but you
probably shouldn't use that one anyway.

Regards,
Joachim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to