Update dependency to support Rails 4