module ActiveScaffold::Actions::Mark

Public Class Methods

included(base) click to toggle source
# File lib/active_scaffold/actions/mark.rb, line 3
def self.included(base)
  base.helper_method :marked_records
end

Protected Instance Methods

marked_records() click to toggle source
# File lib/active_scaffold/actions/mark.rb, line 9
def marked_records
  if params[:marked_records]
    params[:marked_records].split(',').collect {|x| Integer(x)}.uniq
  else
    []
  end
end