form_tag

form_tag(url_for_options = {}, options = {}, &block) Instance Public methods Starts a form tag that points the action to an url configured with url_for_options just like ActionController::Base#url_for. The method for the form defaults to POST. Options :multipart - If set to true, the enctype is set to âmultipart/form-dataâ. :method - The method to use when submitting the form, usually either âgetâ or âpostâ. If âpatchâ, âputâ, âdeleteâ, or another verb is used, a hidden inpu

lookup

lookup(string) Class Public methods

include?

include?(key) Instance Public methods Alias for: key?

binds_from_relation

binds_from_relation(relation, binds) Instance Protected methods

rename_index

rename_index(table_name, old_name, new_name) Instance Public methods

mount

mount(app, options = nil) Instance Public methods Mount a Rack-based application to be used within the application. mount SomeRackApp, at: "some_route" Alternatively: mount(SomeRackApp => "some_route") For options, see match, as mount uses it internally. All mounted applications come with routing helpers to access them. These are named after the class specified, so for the above example the helper is either some_rack_app_path or some_rack_app_url. To customize this helper's na

layout_test

layout_test() Instance Public methods :ported:

existing_migration

existing_migration() Instance Public methods Also aliased as: exists?

phone_field

phone_field(object_name, method, options = {}) Instance Public methods aliases #telephone_field telephone_field

middleware

middleware() Instance Public methods Middleware class can be inserted as a Rack handler to be local cache for the duration of request.