Update dependency to Rails4