Support folder listing API
Upgrade rails version to latest