Updated dependency to support rails 4