cache_key

cache_key(*timestamp_names) Instance Public methods Returns a cache key that can be used to identify this record. Product.new.cache_key # => "products/new" Product.find(5).cache_key # => "products/5" (updated_at not available) Person.find(5).cache_key # => "people/5-20071224150000" (updated_at available) You can also pass a list of named timestamps, and the newest in the list will be used to generate the key: Person.find(5).cache_key(:updated_at, :last_reviewed_at)

package_version

package_version() Class Public methods

eval_input

eval_input() Instance Public methods Evaluates input for this session.

new

new(parent, name, mode=nil, *args) Class Public methods

concat

concat(*jobs) â Concat Instance Public methods Returns a Concat object, for the given jobs

index_name_length

index_name_length() Instance Public methods

package_version

package_version() Class Public methods

nodeType

nodeType() Instance Public methods DOMNodeType nodeType the node's type

html

html Instance Public methods Allow HTML

getsockopt

getsockopt(level, optname) => socketoption Instance Public methods Gets a socket option. These are protocol and system specific, see your local system documentation for details. The option is returned as a Socket::Option object. Parameters level is an integer, usually one of the SOL_ constants such as Socket::SOL_SOCKET, or a protocol level. A string or symbol of the name, possibly without prefix, is also accepted. optname is an integer, usually one of the SO_ constants, suc