merged rails with basic backbone setup