adding Rails 4 support [WIP]