Rails 4 version (TeamTreehouse)