[WIP#103] Rails 4 upgrade

I just started it.