I have read from several sources that in the leaky integrate-and-fire model of a single neuron resistor (leakage) and capacitor (membrane potential) are arranged in parallel. Look at the following RC circuit, taken from the book Neuronal Dynamics:
The author says:
The cell membrane acts like a capacitor in parallel with a resistor which is in line with a battery of potential $u_{rest}$.
But I think capacitor and resistor are arranged in series. Can anybody please explain why it is said that they are arranged in parallel?