attr_accessor default values

Viewed 59387

I'm using rails and I want to make it so that attr_accessor :politics is set, by default, to false.

Does anyone know how to do this and is able to explain it in simple terms for me?

7 Answers
Related