class ActiveScaffold::Config::BatchUpdate
Attributes
list_mode_enabled[RW]
process_mode[RW]
see class accessor
Public Class Methods
link()
click to toggle source
global level configuration
the ActionLink for this action
# File lib/active_scaffold/config/batch_update.rb, line 14 def self.link @@link end
link=(val)
click to toggle source
# File lib/active_scaffold/config/batch_update.rb, line 17 def self.link=(val) @@link = val end
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