updated rack and added required modifications to actionpack