class ActiveScaffold::Config::BatchUpdate

Attributes

list_mode_enabled[RW]
process_mode[RW]

see class accessor

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/active_scaffold/config/batch_update.rb, line 4
def initialize(*args)
  super
  @process_mode = self.class.process_mode
  @action_group ||= 'collection.batch'
  @list_mode_enabled = self.class.list_mode_enabled
end

Public Instance Methods

label(model = nil) click to toggle source

the label= method already exists in the Form base class

# File lib/active_scaffold/config/batch_update.rb, line 47
def label(model = nil)
  model ||= @core.label(:count => 2)
  @label ? as_(@label) : as_(:update_model, :model => model)
end