update rails

Upgrade to the latest version of rails. This would also update actionpack