badge and picture ruby blocks