teardown_fixtures

teardown_fixtures() Instance Public methods

change

change(column_name, type, options = {}) Instance Public methods Changes the column's definition according to the new options. See ActiveRecord::ConnectionAdapters::TableDefinition#column for details of the options you can use. t.change(:name, :string, limit: 80) t.change(:description, :text)

receive

receive(raw_mail) Class Public methods Receives a raw email, parses it into an email object, decodes it, instantiates a new mailer, and passes the email object to the mailer object's receive method. If you want your mailer to be able to process incoming messages, you'll need to implement a receive method that accepts the raw email string as a parameter: class MyMailer < ActionMailer::Base def receive(mail) # ... end end

_update_progdlg

_update_progdlg() Class Public methods

atan

Math.atan(x) â float Class Public methods Computes the arc tangent of x. Returns -{PI/2} .. {PI/2}.

assert_response

assert_response(type, message = nil) Instance Public methods Asserts that the response is one of the following types: :success - Status code was in the 200-299 range :redirect - Status code was in the 300-399 range :missing - Status code was 404 :error - Status code was in the 500-599 range You can also pass an explicit status number like assert_response(501) or its symbolic equivalent assert_response(:not_implemented). See Rack::Utils::SYMBOL_TO_STATUS_CODE for

new

new(*addresses) Class Public methods Creates a new MemCacheStore object, with the given memcached server addresses. Each address is either a host name, or a host-with-port string in the form of âhost_name:portâ. For example: ActiveSupport::Cache::MemCacheStore.new("localhost", "server-downstairs.localnetwork:8229") If no addresses are specified, then MemCacheStore will connect to localhost port 11211 (the default memcached port).

mv

mv() Instance Public methods Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. ruby -run -e mv -- [OPTION] SOURCE DEST -v verbose

nodeName

nodeName() Instance Public methods BSTR nodeName name of the node

permanent

permanent() Instance Public methods Returns a jar that'll automatically set the assigned cookies to have an expiration date 20 years from now. Example: cookies.permanent[:prefers_open_id] = true # => Set-Cookie: prefers_open_id=true; path=/; expires=Sun, 16-Dec-2029 03:24:16 GMT This jar is only meant for writing. You'll read permanent cookies through the regular accessor. This jar allows chaining with the signed jar as well, so you can set permanent, signed cookies. Examples: