t

t(key, options = {}) Instance Public methods Alias for: translate

call

call(env) Instance Public methods

backtrace_cleaner

backtrace_cleaner() Class Public methods

touch

touch(*) Instance Public methods

test_eager_load_belongs_to_primary_key_quoting

test_eager_load_belongs_to_primary_key_quoting() Instance Public methods

expected_response

expected_response(http_method, uri, credentials, password, password_is_ha1=true) Instance Public methods Returns the expected response for a request of http_method to uri with the decoded credentials and the expected password Optional parameter password_is_ha1 is set to true by default, since best practice is to store ha1 digest instead of a plain-text password.

new

new(store = Rails.cache) Class Public methods

auto_discovery_link_tag

auto_discovery_link_tag(type = :rss, url_options = {}, tag_options = {}) Instance Public methods Returns a link tag that browsers and feed readers can use to auto-detect an RSS or Atom feed. The type can either be :rss (default) or :atom. Control the link options in url_for format using the url_options. You can modify the LINK tag itself in tag_options. Options :rel - Specify the relation of this link, defaults to Ć¢alternateĆ¢ :type - Override the auto-generated mime type :ti

compute_asset_path

compute_asset_path(source, options = {}) Instance Public methods Computes asset path to public directory. Plugins and extensions can override this method to point to custom assets or generate digested paths or query strings.

generate_key

generate_key(salt, key_size=64) Instance Public methods Returns a derived key suitable for use. The default key_size is chosen to be compatible with the default settings of ActiveSupport::MessageVerifier. i.e. OpenSSL::Digest::SHA1#block_length