From: "Sebastjan H." Date: 2012-10-20T06:16:22+09:00 Subject: Re: database part of a desktop application I need some further advise. I would go with either YAML or YAML::Store because then I'd get the manually editable file storage. However, I am searching the net for some examples but some have puzzled me even more (some use YAML.dump, others to_yaml and so on). So I turned back to the pickaxe, which is a bit scarce for me regarding the YAML and I managed to get the objects stored in the .yml file, but I am not sure if I did it the right way to suite my purpose: snipet: #class definition above card = Flashcard.new(name, source, target, part_of_speech, definition, example) File.open("all_cards.yml", "a+") {|f| YAML.dump(card, f)} This appends object after object. Here's the problem. How can I then access and display certain or all cards after loading the file: card_file = YAML.load_file("all_cards.yml") I've tried putsing the card_file with different parameters but I always get back the name of the first objec tin the storage. Am I doing something wrong even when dumping objects? And one last question, If I go with YAML and not YAML::Store can I delete certain card from the storage? regards, seba -- Posted via http://www.ruby-forum.com/.