digest

digest_obj.digest â stringdigest_obj.digest(string) â string Instance Public methods If none is given, returns the resulting hash value of the digest, keeping the digest's state. If a string is given, returns the hash value for the given string, resetting the digest to the initial state before and after the process.

history_configinfo

history_configinfo(opt) Instance Public methods

authenticate

authenticate(request, &login_procedure) Instance Public methods

to_a

name.to_a => [[name, data, type], ...] Instance Public methods Returns an Array representation of the distinguished name suitable for passing to ::new

protect_against_forgery?

protect_against_forgery?() Instance Protected methods Checks if the controller allows forgery protection.

transfer_stdin 2

transfer_stdin(dist, src = '') Instance Public methods

specific_extra_args_hash

specific_extra_args_hash() Class Public methods Accessor for the specific extra args hash (self initializing).

fixture_file_upload

fixture_file_upload(path, mime_type = nil, binary = false) Instance Public methods Shortcut for Rack::Test::UploadedFile.new(File.join(ActionController::TestCase.fixture_path, path), type): post :change_avatar, avatar: fixture_file_upload('files/spongebob.png', 'image/png') To upload binary files on Windows, pass :binary as the last parameter. This will not affect other platforms: post :change_avatar, avatar: fixture_file_upload('files/spongebob.png', 'image/png', :binary)

head_with_symbolic_status

head_with_symbolic_status() Instance Public methods

set_drag

set_drag(path, subpath, initcmd, endcmd, force=None) Class Public methods