Expand activeresource dependency to work with Rails 4.