Revert "Revert "enabled static assets in rails""

This reverts commit 987ecfe55b150cb9c8dce5152c4000f7568f01af.