active?

active?() Instance Public methods CONNECTION MANAGEMENT ====================================

at

at(secs) Instance Public methods Method for creating new ActiveSupport::TimeWithZone instance in time zone of self from number of seconds since the Unix epoch. Time.zone = 'Hawaii' # => "Hawaii" Time.utc(2000).to_f # => 946684800.0 Time.zone.at(946684800.0) # => Fri, 31 Dec 1999 14:00:00 HST -10:00

select_tag

select_tag(name, option_tags = nil, options = {}) Instance Public methods Creates a dropdown selection box, or if the :multiple option is set to true, a multiple choice selection box. Helpers::FormOptions can be used to create common select boxes such as countries, time zones, or associated records. option_tags is a string containing the option tags for the select box. Options :multiple - If set to true the selection will allow multiple choices. :disabled - If set to true, the u

trigger

trigger(files) Instance Public methods

deprecate_methods

deprecate_methods(target_module, *method_names) Instance Public methods Declare that a method has been deprecated. module Fred extend self def foo; end def bar; end def baz; end end ActiveSupport::Deprecation.deprecate_methods(Fred, :foo, bar: :qux, baz: 'use Bar#baz instead') # => [:foo, :bar, :baz] Fred.foo # => "DEPRECATION WARNING: foo is deprecated and will be removed from Rails 4.1." Fred.bar # => "DEPRECATION WARNING: bar is deprecated and will be remove

new

new(env = {}) Class Public methods

[]=

[]=(key, value) Instance Public methods Assigns a new value to the hash: hash = ActiveSupport::HashWithIndifferentAccess.new hash[:key] = 'value' This value can be later fetched using either :key or +'key'+. regular_writer store

rescue_with_handler

rescue_with_handler(exception) Instance Public methods Tries to rescue the exception by looking up and calling a registered handler.

explain

explain(arel, binds = []) Instance Public methods

change_column_null

change_column_null(table_name, column_name, null, default = nil) Instance Public methods