I have a User model. I can check whether a User is an admin by doing a_user.try(:admin?).
a_user.try(:admin?)
I\'d like to define a named scope that gets all Users updated
if admin column in users table is a boolean,
scope :recent, lambda { :conditions => ['updated_at > ? AND admin != ?', 5.minutes.ago, true] }