needs_migration?

needs_migration?(value) Instance Protected methods

responseXML

responseXML() Instance Public methods DISPATCH responseXML Get response body

__create_safe_slave_obj

__create_safe_slave_obj(safe_opts, app_name, tk_opts) Instance Public methods

encode

str.encode(encoding [, options] ) â strstr.encode(dst_encoding, src_encoding [, options] ) â strstr.encode([options]) â str Instance Public methods The first form returns a copy of str transcoded to encoding encoding. The second form returns a copy of str transcoded from src_encoding to dst_encoding. The last form returns a copy of str transcoded to Encoding.default_internal. By default, the first and second form raise Encoding::UndefinedConversionError for characters that a

move18

move18(step = nil) Instance Public methods

reject

enum.reject { |obj| block } â arrayenum.reject â an_enumerator Instance Public methods Returns an array for all elements of enum for which the given block returns false. If no block is given, an Enumerator is returned instead. (1..10).reject { |i| i % 3 == 0 } #=> [1, 2, 4, 5, 7, 8, 10] [1, 2, 3, 4, 5].reject { |num| num.even? } #=> [1, 3, 5] See also #find_all.

eager_loading?

eager_loading?() Instance Public methods Returns true if relation needs eager loading.

constraints

constraints(constraints = {}) Instance Public methods Parameter Restriction Allows you to constrain the nested routes based on a set of rules. For instance, in order to change the routes to allow for a dot character in the id parameter: constraints(id: /\d+\.\d+/) do resources :posts end Now routes such as /posts/1 will no longer be valid, but /posts/1.1 will be. The id parameter must match the constraint passed in for this example. You may use this to also restrict other parame

new

new(name, version) Class Public methods

<=>

obj other â 0 or nil Instance Public methods Returns 0 if obj and other are the same object or obj == other, otherwise nil. The <=> is used by various methods to compare objects, for example Enumerable#sort, Enumerable#max etc. Your implementation of <=> should return one of the following values: -1, 0, 1 or nil. -1 means self is smaller than other. 0 means self is equal to other. 1 means self is bigger than other. Nil means the two values could not be compared. When