went through the ruby tutorial again but with beer model