method_for_action

method_for_action(action_name) Instance Public methods

child_site

child_site() Instance Public methods

selection_clear

selection_clear() Instance Public methods

view_assigns

view_assigns() Instance Public methods This method should return a hash with assigns. You can overwrite this configuration per controller. :api: public

install

install() Instance Public methods Installs the gem and returns a loaded Gem::Specification for the installed gem. The gem will be installed with the following structure: @gem_home/ cache/<gem-version>.gem #=> a cached copy of the installed gem gems/<gem-version>/... #=> extracted files specifications/<gem-version>.gemspec #=> the Gem::Specification

new

new(array_of_rows) Class Public methods Construct a new CSV::Table from array_of_rows, which are expected to be CSV::Row objects. All rows are assumed to have the same headers. A CSV::Table object supports the following Array methods through delegation: empty?() length() size()

&lt;&lt;

<<(text) Instance Public methods Appends text

tag_start

tag_start(name, attrs) Instance Public methods Called when a tag is encountered. @p name the tag name @p attrs an array of arrays of attribute/value pairs, suitable for use with assoc or rassoc. IE, <tag attr1=âvalue1â attr2=âvalue2â> will result in #tag_start( âtagâ, # [[âattr1â,âvalue1â],])

reload

reload(options = nil) Instance Public methods Reloads the record from the database. This method finds record by its primary key (which could be assigned manually) and modifies the receiver in-place: account = Account.new # => #<Account id: nil, email: nil> account.id = 1 account.reload # Account Load (1.2ms) SELECT "accounts".* FROM "accounts" WHERE "accounts"."id" = $1 LIMIT 1 [["id", 1]] # => #<Account id: 1, email: 'account@example.com'> Attributes are reloa

notify_install

notify_install(pattern, percents_cmd=nil, &b) Instance Public methods