Rails extension for AccessPolicy