Rails 4 and ember.js chat application