Add railties >= 4.0.0