until

until(time = ::Time.current) Instance Public methods Alias for: ago

try

try(*a, &b) Instance Public methods Invokes the public method whose name goes as first argument just like public_send does, except that if the receiver does not respond to it the call returns nil rather than raising an exception. This method is defined to be able to write @person.try(:name) instead of @person ? @person.name : nil try returns nil when called on nil regardless of whether it responds to the method: nil.try(:to_i) # => nil, rather than 0 Arguments and blocks

to_query

to_query(key) Instance Public methods Converts an object into a string suitable for use as a URL query string, using the given key as the param name.

key_generator

key_generator() Instance Public methods Return the application's KeyGenerator

configurations=

configurations=(config) Class Public methods :singleton-method: Contains the database configuration - as is typically stored in config/database.yml - as a Hash. For example, the following database.yml⦠development: adapter: sqlite3 database: db/development.sqlite3 production: adapter: sqlite3 database: db/production.sqlite3 â¦would result in ::configurations to look like this: { 'development' => { 'adapter' => 'sqlite3', 'database' => 'db/developm

test_update_all_within_inheritance

test_update_all_within_inheritance() Instance Public methods

test_should_store_demodulized_class_name_with_store_full_sti_class_option_disabled

test_should_store_demodulized_class_name_with_store_full_sti_class_option_disabled() Instance Public methods

new

new() Class Public methods

render_text_with_assigns

render_text_with_assigns() Instance Public methods :addressed:

search_by_type

search_by_type(q) Class Public methods