Revert "Fixing ruby example with attachments collection"

This reverts commit f4ceb4d8cdb4530de05f90fad2c3da9350399edb.