small changes in rails
fix single card problem
add css