add rails render and view