Update dependency on activeresource to 4.0.0