support Rails4