Rails 4 stuff for fun.