class ActiveScaffold::Config::Update

Attributes

hide_nested_column[W]
refresh_list[RW]

whether we should refresh list after update or not

Public Class Methods

new(*args) click to toggle source
Calls superclass method ActiveScaffold::Config::Form::new
# File lib/active_scaffold/config/update.rb, line 4
def initialize(*args)
  super
  self.nested_links = self.class.nested_links
  self.refresh_list = self.class.refresh_list
end

Public Instance Methods

hide_nested_column() click to toggle source
# File lib/active_scaffold/config/update.rb, line 38
def hide_nested_column
  @hide_nested_column.nil? ? true : @hide_nested_column
end
label() click to toggle source

the label= method already exists in the Form base class

# File lib/active_scaffold/config/update.rb, line 29
def label
  @label ? as_(@label) : as_(:update_model, :model => @core.label(:count => 1))
end