use #render and Jbuilder