remove runtime dependency on rails 4