class ActiveScaffold::Config::Update
Attributes
hide_nested_column[W]
nested_links[RW]
refresh_list[RW]
whether we should refresh list after update or not
Public Class Methods
link()
click to toggle source
global level configuration
the ActionLink for this action
# File lib/active_scaffold/config/update.rb, line 13 def self.link @@link end
link=(val)
click to toggle source
# File lib/active_scaffold/config/update.rb, line 16 def self.link=(val) @@link = val end
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