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

table_exists?

table_exists?() Instance Public methods Indicates whether the table associated with this class exists

table_rows

table_rows() Instance Public methods Returns a hash of rows to be inserted. The key is the table, the value is a list of rows to insert to that table.

if_modified_since

if_modified_since() Instance Public methods

reflect_on_all_autosave_associations

reflect_on_all_autosave_associations() Instance Public methods Returns an array of AssociationReflection objects for all associations which have :autosave enabled. @api public

rescue_with_handler

rescue_with_handler(exception) Instance Public methods

_dump

_dump(*args) Instance Public methods Also aliased as: _dump_without_zone

environment

environment() Instance Public methods

hidden_field_tag

hidden_field_tag(name, value = nil, options = {}) Instance Public methods Creates a hidden form input field used to transmit data that would be lost due to HTTP's statelessness or data that should be hidden from the user. Options Creates standard HTML attributes for the tag. Examples hidden_field_tag 'tags_list' # => <input id="tags_list" name="tags_list" type="hidden" /> hidden_field_tag 'token', 'VUBJKB23UIVI1UU1VOBVI@' # => <input id="token" name="token" type=