rails 3 and ember app