When do I use "a" versus "@a" as a variable?

Thats right.

For every request a new instance of the controller is created and hence all instance variables get the defaults!

Regards,

Jatinder