Using Rails as API for embers app. This technique is great for bigger project, and easier for maintenance.