Upgrade to Rails 4, closes #13