refactor rails support, remove rails3 tests