support redis, rails 4