create_savepoint

create_savepoint(name = nil) Instance Public methods

symlink

symlink(file_name, dest_file) Instance Public methods Symlink file_name to dest_file.

item_visible_order

item_visible_order(item) Instance Public methods

style 2

style(*args) Class Public methods

clear_exclude

clear_exclude() Instance Public methods Clear all the exclude patterns so that we exclude nothing.

ceil

ceil(n) Instance Public methods Return the smallest integer greater than or equal to the value, as a BigDecimal. BigDecimal('3.14159').ceil #=> 4 BigDecimal('-9.1').ceil #=> -9 If n is specified and positive, the fractional part of the result has no more than that many digits. If n is specified and negative, at least that many digits to the left of the decimal point will be 0 in the result. BigDecimal('3.14159').ceil(3) #=> 3.142 BigDecimal('13345.234').ceil(-2) #=> 1

tagid

tagid(id) Instance Public methods

railtie_name

railtie_name(name = nil) Class Public methods

generate

generate(obj, opts = nil) Instance Public methods Generate a JSON document from the Ruby data structure obj and return it. state is a JSON::State object, or a Hash like object (responding to to_hash), or an object convertible into a hash by a to_h method, that is used as or to configure a State object. It defaults to a state object, that creates the shortest possible JSON text in one line, checks for circular data structures and doesn't allow NaN, Infinity, and -Infinity. A

checkout

checkout() Instance Public methods Check-out a database connection from the pool, indicating that you want to use it. You should call checkin when you no longer need this. This is done by either returning and leasing existing connection, or by creating a new connection and leasing it. If all connections are leased and the pool is at capacity (meaning the number of currently leased connections is greater than or equal to the size limit set), an ActiveRecord::ConnectionTimeoutError e