publish upgrade rails post