Example of working with metadata in ruby