Topic: Undefined method admin?
I am working on an ecommerce website for a college project and I am working on the admin user section of the site. I was using the micheal hartl tutorial (http://ruby.railstutorial.org/chapters/ tive_users) but I've run into a problem, - undefined method `admin?' for #<#<Class:0x38d9540>:0x38d5e20>. In the tutuorial he doesn't define a method call admin?
Can anybody shed some light on where I'm going wrong, or if there is a better way to make admin users?