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

restsize

restsize() Instance Public methods s.restsize is equivalent to s.rest_size. This method is obsolete; use rest_size instead.

new

new() Class Public methods

dom_class

dom_class(record_or_class, prefix = nil) Instance Public methods The DOM class convention is to use the singular form of an object or class. dom_class(post) # => "post" dom_class(Person) # => "person" If you need to address multiple instances of the same class in the same view, you can prefix the #dom_class: dom_class(post, :edit) # => "edit_post" dom_class(Person, :edit) # => "edit_person"

mkTextConfig

mkTextConfig(w,x,y,option,value,color) Instance Public methods Next, create some items that allow the text's anchor position to be edited.

delete

Dir.delete( string ) â 0 Class Public methods Deletes the named directory. Raises a subclass of SystemCallError if the directory isn't empty.

_eval 2

_eval(str) Instance Public methods