Rails side of godfather.js