active record gives you this method by default if you have a boolean column... no need to redefine it