font_url

font_url(source, options = {}) Instance Public methods Computes the full URL to a font asset. This will use font_path internally, so most of their behaviors will be the same. url_to_font

gem_version

gem_version() Class Public methods Returns the version of the currently loaded Rails as a Gem::Version

update_columns

update_columns(attributes) Instance Public methods Updates the attributes directly in the database issuing an UPDATE SQL statement and sets them in the receiver: user.update_columns(last_request_at: Time.current) This is the fastest way to update attributes because it goes straight to the database, but take into account that in consequence the regular update procedures are totally bypassed. In particular: Validations are skipped. Callbacks are skipped. updated_at/updated_on a

becomes!

becomes!(klass) Instance Public methods Wrapper around becomes that also changes the instance's sti column value. This is especially useful if you want to persist the changed class in your database. Note: The old instance's sti column value will be changed too, as both objects share the same set of attributes.

send_mail

send_mail() Instance Public methods

petabyte

petabyte() Instance Public methods Alias for: petabytes

define_method_attribute

define_method_attribute(name) Instance Protected methods

new

new(store = Rails.cache) Class Public methods

rack_cookies

rack_cookies() Instance Public methods Alias for: cookies

thread_variable_get

thread_variable_get(key) Instance Public methods Returns the value of a thread local variable that has been set. Note that these are different than fiber local values. Thread local values are carried along with threads, and do not respect fibers. For example: Thread.new { Thread.current.thread_variable_set("foo", "bar") # set a thread local Thread.current["foo"] = "bar" # set a fiber local Fiber.new { Fiber.yield [ Thread.current.thread_variable_