http://reefpoints.dockyard.com/2014/05/09/building-an-ember-app-with-rails-part-3.html