def humanize(options = { })
      result   = nil
      htmlized = false

      humanize_meth = @options[:humanize]
      if humanize_meth.nil? && (self.model.respond_to?(:humanize))
        humanize_meth = :humanize
      end

      if humanize_meth
        case self.model.method(humanize_meth).arity
        when 1
          result = self.model.__send__(humanize_meth, options)
          htmlized = true
        else
          result = self.model.__send__(humanize_meth)
        end
      end

      if result.nil? && @options[:default]
        result = @options[:default]
      end

      if !result.nil? && options[:html] && !htmlized && Activr::RailsCtx.view_context
        # let Rails sanitize and htmlize the entity
        result = Activr::RailsCtx.view_context.sanitize(result)
        result = Activr::RailsCtx.view_context.link_to(result, self.model)
      end

      result ||= ""

      result
    end
def humanize(options = { })
      result   = nil
      htmlized = false

      humanize_meth = @options[:humanize]
      if humanize_meth.nil? && (self.model.respond_to?(:humanize))
        humanize_meth = :humanize
      end

      if humanize_meth
        case self.model.method(humanize_meth).arity
        when 1
          result = self.model.__send__(humanize_meth, options)
          htmlized = true
        else
          result = self.model.__send__(humanize_meth)
        end
      end

      if result.nil? && @options[:default]
        result = @options[:default]
      end

      if !result.nil? && options[:html] && !htmlized && Activr::RailsCtx.view_context
        # let Rails sanitize and htmlize the entity
        result = Activr::RailsCtx.view_context.sanitize(result)
        result = Activr::RailsCtx.view_context.link_to(result, self.model)
      end

      result ||= ""

      result
    end
Humanize entity

 @param options [hash] Options
 @option options [true,false] :html Generate HTML ?
 @return [String] Humanized sentence