Adding fix for ActiveResource dependency