Porting the Ember Todo MVC to rails