normalize_propname

normalize_propname(name) Instance Public methods

column_neededwidth

column_neededwidth(idx) Instance Public methods Alias for: column_needed_width

empty?

empty?() Instance Public methods Returns true if the collection is empty. If the collection has been loaded it is equivalent to collection.size.zero?. If the collection has not been loaded, it is equivalent to collection.exists?. If the collection has not already been loaded and you are going to fetch the records anyway it is better to check collection.length.zero?. class Person < ActiveRecord::Base has_many :pets end person.pets.count # => 1 person.pets.empty? # => fa

warn

warn(message = nil, callstack = nil) Instance Public methods Outputs a deprecation warning to the output configured by ActiveSupport::Deprecation.behavior. ActiveSupport::Deprecation.warn('something broke!') # => "DEPRECATION WARNING: something broke! (called from your_code.rb:1)"

message

message() Instance Public methods Returns the corresponding message for the current HTTP status code: response.status = 200 response.message # => "OK" response.status = 404 response.message # => "Not Found" status_message

-

-(other) Instance Public methods Subtracts another Duration or a Numeric from this Duration. Numeric values are treated as seconds.

definition

definition() Instance Public methods The definition of this singleton class, class << MyClassName

local?

local?() Instance Public methods True if the request came from localhost, 127.0.0.1.

new

new(development = false) Class Public methods Creates a new DependencyList. If development is true, development dependencies will be included.

POST

POST() Instance Public methods Override Rack's #POST method to support indifferent access request_parameters