def add_link(attribute, options = {})
      column = @core.columns[attribute.to_sym]
      raise ArgumentError, "unknown column #{attribute}" if column.nil?
      raise ArgumentError, "column #{attribute} is not an association" if column.association.nil?

      label =
        if column.association.polymorphic?
          column.label
        else
          column.association.klass.model_name.human(:count => column.association.singular? ? 1 : 2, :default => column.association.klass.name.pluralize)
        end
      options.reverse_merge! :security_method => :nested_authorized?, :label => label
      action_group = options.delete(:action_group) || self.action_group
      action_link = @core.link_for_association(column, options)
      @core.action_links.add_to_group(action_link, action_group) unless action_link.nil?
      action_link
    end
def add_link(attribute, options = {})
      column = @core.columns[attribute.to_sym]
      raise ArgumentError, "unknown column #{attribute}" if column.nil?
      raise ArgumentError, "column #{attribute} is not an association" if column.association.nil?

      label =
        if column.association.polymorphic?
          column.label
        else
          column.association.klass.model_name.human(:count => column.association.singular? ? 1 : 2, :default => column.association.klass.name.pluralize)
        end
      options.reverse_merge! :security_method => :nested_authorized?, :label => label
      action_group = options.delete(:action_group) || self.action_group
      action_link = @core.link_for_association(column, options)
      @core.action_links.add_to_group(action_link, action_group) unless action_link.nil?
      action_link
    end
Add a nested ActionLink