upgrading to Rails 4 (wip)