alias_attribute :created_at, :creation_time
+ after_initialize :encrypt_password
before_save :encrypt_password
before_save :update_tile
after_save :spam_check
role? "administrator"
end
+ ##
+ # returns true if the user has the importer role, false otherwise
+ def importer?
+ role? "importer"
+ end
+
##
# returns true if the user has the requested role
def role?(role)