sample fo ember with rails