connection_pool

connection_pool() Instance Public methods

current

current() Class Public methods Returns Time.zone.today when Time.zone or config.time_zone are set, otherwise just returns Date.today.

call

call(env) Instance Public methods

test_alt_finding_incorrect_type_data

test_alt_finding_incorrect_type_data() Instance Public methods

raw_connection

raw_connection() Instance Public methods Provides access to the underlying database driver for this adapter. For example, this method returns a Mysql object in case of MysqlAdapter, and a PGconn object in case of PostgreSQLAdapter. This is useful for when you need to call a proprietary method such as PostgreSQL's lo_* methods.

dasherize

dasherize() Instance Public methods Replaces underscores with dashes in the string. 'puni_puni'.dasherize # => "puni-puni"

font_path

font_path(source, options = {}) Instance Public methods Computes the path to a font asset. Full paths from the document root will be passed through. font_path("font") # => /assets/font font_path("font.ttf") # => /assets/font.ttf font_path("dir/font.ttf") # => /assets/dir/font.ttf font_path("/dir/font.ttf") # => /dir/font.ttf

render_template_within_a_template_with_other_format

render_template_within_a_template_with_other_format() Instance Public methods

image_url

image_url(source, options = {}) Instance Public methods Computes the full URL to an image asset. This will use image_path internally, so most of their behaviors will be the same. url_to_image

file_field

file_field(method, options = {}) Instance Public methods Returns a file upload input tag tailored for accessing a specified attribute (identified by method) on an object assigned to the template (identified by object). Additional options on the input tag can be passed as a hash with options. These options will be tagged onto the HTML as an HTML element attribute as in the example shown. Using this method inside a form_for block will set the enclosing form's encoding to multipart/fo