support rails 4 and 3.x at the same time