moved permanent records gem to github repo to deal with broken query