ember data working with rails api