clear_paths

clear_paths() Class Public methods Reset the dir and path values. The next time dir or path is requested, the values will be calculated from scratch. This is mainly used by the unit tests to provide test isolation.

[]

[](*args) Instance Public methods

test_new_with_unrelated_type

test_new_with_unrelated_type() Instance Public methods

denominator

int.denominator â 1 Instance Public methods Returns 1.

addIncrSpinint

addIncrSpinint(name=None) Class Public methods

new

new(options = {}) Class Public methods Accepts options that will be made available through the options reader.

inspect

inspect() Instance Public methods

valid_for_generate

valid_for_generate(group_flag=nil) Instance Public methods

joined_includes_values

joined_includes_values() Instance Public methods Joins that are also marked for preloading. In which case we should just eager load them. Note that this is a naive implementation because we could have strings and symbols which represent the same association, but that aren't matched by this. Also, we could have nested hashes which partially match, e.g. { a: :b } & { a: [:b, :c] }

after_commit

after_commit(*args, &block) Instance Public methods This callback is called after a record has been created, updated, or destroyed. You can specify that the callback should only be fired by a certain action with the :on option: after_commit :do_foo, on: :create after_commit :do_bar, on: :update after_commit :do_baz, on: :destroy after_commit :do_foo_bar, on: [:create, :update] after_commit :do_bar_baz, on: [:update, :destroy] Note that transactional fixtures do not play well