Update rails.js

missed semi-colon on return statement