change method defined check to do not allow userstamp functions apply to ActiveRecord::Base class