Bridging the gap between frontend and backend in your rails app