Another attempt at creating blags... this time with rails 4