base.send(:attr_accessor,:path,:parent),NoMethodError: private method 'attr_accessor' called for