kept rails 4.1.0, problem with format.js in this version