learning ember/rails-api