type_to_sql

type_to_sql(type, limit = nil, precision = nil, scale = nil) Instance Public methods Maps logical Rails types to PostgreSQL-specific data types.

new

new(app, exceptions_app) Class Public methods

abstract_railtie?

abstract_railtie?() Class Public methods

remove_index_sql

remove_index_sql(table_name, options = {}) Instance Protected methods

check_box

check_box(object_name, method, options = {}, checked_value = "1", unchecked_value = "0") Instance Public methods Returns a checkbox tag tailored for accessing a specified attribute (identified by method) on an object assigned to the template (identified by object). This object must be an instance object (@object) and not a local object. It's intended that method returns an integer and if that integer is above zero, then the checkbox is checked. Additional options on the input tag c

reset!

reset!() Instance Public methods Alias for: reconnect!

emulate_booleans

emulate_booleans Class Public methods By default, the MysqlAdapter will consider all columns of type tinyint(1) as boolean. If you wish to disable this emulation (which was the default behavior in versions 0.13.1 and earlier) you can add the following line to your application.rb file: ActiveRecord::ConnectionAdapters::Mysql[2]Adapter.emulate_booleans = false

tomorrow

tomorrow() Instance Public methods Returns a new date/time representing tomorrow.

render_to_body

render_to_body(options = {}) Instance Public methods Performs the actual template rendering. :api: public

current_hash

current_hash() Instance Public methods