def attributes
      @attributes ||= Hash[self.class.attributes.collect { |name, block|
        [name, Field.new(&block)]
      }]
    end
def attributes
      @attributes ||= Hash[self.class.attributes.collect { |name, block|
        [name, Field.new(&block)]
      }]
    end
ClassMethods