Hello, I use in tests fixtures, you know these wonderful YAML files for seeding the database. When you have a database table :items then there is in the corresponding YAML file items.yml before each item its label, so you can access the item by items(:label) in your tests. How can I get all the labels (not the items) more elegantly than parsing the YAML file? Thanks in advance, Armin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---