SYMBOL INDEX (549 symbols across 88 files) FILE: .github/REPRODUCTION_SCRIPT.rb class Post (line 28) | class Post < ActiveRecord::Base class FactoryBotTest (line 38) | class FactoryBotTest < Minitest::Test method test_factory_bot_stuff (line 39) | def test_factory_bot_stuff FILE: features/step_definitions/factory_bot_steps.rb type FactoryBotDefinitionsHelper (line 1) | module FactoryBotDefinitionsHelper function append_file_to_factory_bot_definitions_path (line 2) | def append_file_to_factory_bot_definitions_path(path_to_file) FILE: features/support/factories.rb class CreateSchema (line 6) | class CreateSchema < ActiveRecord::Migration[5.0] method up (line 7) | def self.up class Category (line 16) | class Category < ActiveRecord::Base; end FILE: lib/factory_bot.rb type FactoryBot (line 48) | module FactoryBot function lint (line 67) | def self.lint(*args) function build_stubbed_starting_id= (line 76) | def self.build_stubbed_starting_id=(starting_id) FILE: lib/factory_bot/aliases.rb type FactoryBot (line 1) | module FactoryBot function aliases_for (line 11) | def self.aliases_for(attribute) FILE: lib/factory_bot/attribute.rb type FactoryBot (line 5) | module FactoryBot class Attribute (line 7) | class Attribute method initialize (line 10) | def initialize(name, ignored) method to_proc (line 15) | def to_proc method association? (line 19) | def association? method alias_for? (line 23) | def alias_for?(attr) FILE: lib/factory_bot/attribute/association.rb type FactoryBot (line 1) | module FactoryBot class Attribute (line 2) | class Attribute class Association (line 4) | class Association < Attribute method initialize (line 7) | def initialize(name, factory, overrides) method to_proc (line 13) | def to_proc method association? (line 22) | def association? FILE: lib/factory_bot/attribute/dynamic.rb type FactoryBot (line 1) | module FactoryBot class Attribute (line 2) | class Attribute class Dynamic (line 4) | class Dynamic < Attribute method initialize (line 5) | def initialize(name, ignored, block) method to_proc (line 10) | def to_proc FILE: lib/factory_bot/attribute/sequence.rb type FactoryBot (line 1) | module FactoryBot class Attribute (line 2) | class Attribute class Sequence (line 4) | class Sequence < Attribute method initialize (line 5) | def initialize(name, sequence, ignored) method to_proc (line 10) | def to_proc FILE: lib/factory_bot/attribute_assigner.rb type FactoryBot (line 1) | module FactoryBot class AttributeAssigner (line 3) | class AttributeAssigner method initialize (line 4) | def initialize(evaluator, build_class, &instance_builder) method object (line 13) | def object method hash (line 24) | def hash method method_tracking_evaluator (line 36) | def method_tracking_evaluator method decorated_evaluator (line 43) | def decorated_evaluator method methods_invoked_on_evaluator (line 50) | def methods_invoked_on_evaluator method build_class_instance (line 54) | def build_class_instance method build_hash (line 58) | def build_hash method get (line 62) | def get(attribute_name) method attributes_to_set_on_instance (line 66) | def attributes_to_set_on_instance method attributes_to_set_on_hash (line 70) | def attributes_to_set_on_hash method attribute_names_to_assign (line 75) | def attribute_names_to_assign method non_ignored_attribute_names (line 85) | def non_ignored_attribute_names method ignored_attribute_names (line 89) | def ignored_attribute_names method association_names (line 93) | def association_names method override_names (line 97) | def override_names method attribute_names (line 101) | def attribute_names method hash_instance_methods_to_respond_to (line 105) | def hash_instance_methods_to_respond_to method attribute_names_overriden_by_alias (line 110) | def attribute_names_overriden_by_alias method ignorable_alias? (line 128) | def ignorable_alias?(attribute, override) method override_interrupts_association? (line 152) | def override_interrupts_association?(aliased_attribute, override) method override_matches_declared_attribute? (line 164) | def override_matches_declared_attribute?(override) FILE: lib/factory_bot/attribute_list.rb type FactoryBot (line 1) | module FactoryBot class AttributeList (line 3) | class AttributeList method initialize (line 6) | def initialize(name = nil, attributes = []) method define_attribute (line 11) | def define_attribute(attribute) method each (line 18) | def each(&block) method names (line 22) | def names method associations (line 26) | def associations method ignored (line 30) | def ignored method non_ignored (line 34) | def non_ignored method apply_attributes (line 38) | def apply_attributes(attributes_to_apply) method add_attribute (line 44) | def add_attribute(attribute) method ensure_attribute_not_defined! (line 49) | def ensure_attribute_not_defined!(attribute) method ensure_attribute_not_self_referencing! (line 55) | def ensure_attribute_not_self_referencing!(attribute) method attribute_defined? (line 62) | def attribute_defined?(attribute_name) FILE: lib/factory_bot/callback.rb type FactoryBot (line 1) | module FactoryBot class Callback (line 2) | class Callback method initialize (line 5) | def initialize(name, block) method run (line 10) | def run(instance, evaluator) method == (line 18) | def ==(other) method syntax_runner (line 29) | def syntax_runner FILE: lib/factory_bot/callbacks_observer.rb type FactoryBot (line 1) | module FactoryBot class CallbacksObserver (line 3) | class CallbacksObserver method initialize (line 4) | def initialize(callbacks, evaluator) method update (line 10) | def update(name, result_instance) method callbacks_by_name (line 21) | def callbacks_by_name(name) method completed? (line 25) | def completed?(instance, callback) method record_completion! (line 30) | def record_completion!(instance, callback) method completion_key_for (line 35) | def completion_key_for(instance, callback) FILE: lib/factory_bot/configuration.rb type FactoryBot (line 1) | module FactoryBot class Configuration (line 3) | class Configuration method initialize (line 13) | def initialize method initialize_with (line 29) | def initialize_with(&block) FILE: lib/factory_bot/declaration.rb type FactoryBot (line 5) | module FactoryBot class Declaration (line 7) | class Declaration method initialize (line 10) | def initialize(name, ignored = false) method to_attributes (line 15) | def to_attributes FILE: lib/factory_bot/declaration/association.rb type FactoryBot (line 1) | module FactoryBot class Declaration (line 2) | class Declaration class Association (line 4) | class Association < Declaration method initialize (line 5) | def initialize(name, *options) method == (line 13) | def ==(other) method build (line 27) | def build method raise_if_arguments_are_declarations! (line 39) | def raise_if_arguments_are_declarations! FILE: lib/factory_bot/declaration/dynamic.rb type FactoryBot (line 1) | module FactoryBot class Declaration (line 2) | class Declaration class Dynamic (line 4) | class Dynamic < Declaration method initialize (line 5) | def initialize(name, ignored = false, block = nil) method == (line 10) | def ==(other) method build (line 23) | def build FILE: lib/factory_bot/declaration/implicit.rb type FactoryBot (line 1) | module FactoryBot class Declaration (line 2) | class Declaration class Implicit (line 4) | class Implicit < Declaration method initialize (line 5) | def initialize(name, factory = nil, ignored = false) method == (line 10) | def ==(other) method build (line 23) | def build FILE: lib/factory_bot/declaration_list.rb type FactoryBot (line 1) | module FactoryBot class DeclarationList (line 3) | class DeclarationList method initialize (line 6) | def initialize(name = nil) method declare_attribute (line 12) | def declare_attribute(declaration) method overridable (line 19) | def overridable method attributes (line 23) | def attributes method each (line 31) | def each(&block) method delete_declaration (line 37) | def delete_declaration(declaration) method to_attributes (line 41) | def to_attributes method overridable? (line 45) | def overridable? FILE: lib/factory_bot/decorator.rb type FactoryBot (line 1) | module FactoryBot class Decorator (line 2) | class Decorator < BasicObject method initialize (line 5) | def initialize(component) method method_missing (line 9) | def method_missing(...) # rubocop:disable Style/MethodMissingSuper method send (line 13) | def send(...) method respond_to_missing? (line 17) | def respond_to_missing?(name, include_private = false) method const_missing (line 21) | def self.const_missing(name) FILE: lib/factory_bot/decorator/attribute_hash.rb type FactoryBot (line 1) | module FactoryBot class Decorator (line 2) | class Decorator class AttributeHash (line 3) | class AttributeHash < Decorator method initialize (line 4) | def initialize(component, attributes = []) method attributes (line 9) | def attributes FILE: lib/factory_bot/decorator/disallows_duplicates_registry.rb type FactoryBot (line 1) | module FactoryBot class Decorator (line 2) | class Decorator class DisallowsDuplicatesRegistry (line 3) | class DisallowsDuplicatesRegistry < Decorator method register (line 4) | def register(name, item) FILE: lib/factory_bot/decorator/invocation_tracker.rb type FactoryBot (line 1) | module FactoryBot class Decorator (line 2) | class Decorator class InvocationTracker (line 3) | class InvocationTracker < Decorator method initialize (line 4) | def initialize(component) method method_missing (line 9) | def method_missing(name, *args, &block) # rubocop:disable Style/Mi... method __invoked_methods__ (line 15) | def __invoked_methods__ FILE: lib/factory_bot/decorator/new_constructor.rb type FactoryBot (line 1) | module FactoryBot class Decorator (line 2) | class Decorator class NewConstructor (line 3) | class NewConstructor < Decorator method initialize (line 4) | def initialize(component, build_class) FILE: lib/factory_bot/definition.rb type FactoryBot (line 1) | module FactoryBot class Definition (line 3) | class Definition method initialize (line 7) | def initialize(name, base_traits = [], **opts) method attributes (line 25) | def attributes method to_create (line 34) | def to_create(&block) method constructor (line 42) | def constructor method callbacks (line 46) | def callbacks method compile (line 50) | def compile(klass = nil) method overridable (line 74) | def overridable method inherit_traits (line 79) | def inherit_traits(new_traits) method append_traits (line 83) | def append_traits(new_traits) method add_callback (line 87) | def add_callback(callback) method skip_create (line 91) | def skip_create method define_trait (line 95) | def define_trait(trait) method defined_traits_names (line 99) | def defined_traits_names method register_enum (line 103) | def register_enum(enum) method define_constructor (line 107) | def define_constructor(&block) method before (line 111) | def before(*names, &block) method after (line 115) | def after(*names, &block) method callback (line 119) | def callback(*names, &block) method base_traits (line 127) | def base_traits method error_with_definition_name (line 136) | def error_with_definition_name(error) method error_with_definition_name (line 143) | def error_with_definition_name(error) method additional_traits (line 156) | def additional_traits method trait_by_name (line 160) | def trait_by_name(name) method trait_for (line 164) | def trait_for(name) method initialize_copy (line 169) | def initialize_copy(source) method aggregate_from_traits_and_self (line 176) | def aggregate_from_traits_and_self(method_name, &block) method expand_enum_traits (line 186) | def expand_enum_traits(klass) method automatically_register_defined_enums (line 201) | def automatically_register_defined_enums(klass) method automatically_register_defined_enums? (line 205) | def automatically_register_defined_enums?(klass) FILE: lib/factory_bot/definition_hierarchy.rb type FactoryBot (line 1) | module FactoryBot class DefinitionHierarchy (line 2) | class DefinitionHierarchy method build_from_definition (line 5) | def self.build_from_definition(definition) method add_callbacks (line 11) | def self.add_callbacks(callbacks) method build_constructor (line 20) | def self.build_constructor(&block) method build_to_create (line 29) | def self.build_to_create(&block) FILE: lib/factory_bot/definition_proxy.rb type FactoryBot (line 1) | module FactoryBot class DefinitionProxy (line 2) | class DefinitionProxy method initialize (line 26) | def initialize(definition, ignore = false) method singleton_method_added (line 32) | def singleton_method_added(name) method add_attribute (line 47) | def add_attribute(name, &block) method transient (line 52) | def transient(&block) method method_missing (line 91) | def method_missing(name, *args, &block) # rubocop:disable Style/Miss... method sequence (line 122) | def sequence(name, *args, &block) method association (line 155) | def association(name, *options) method to_create (line 167) | def to_create(&block) method skip_create (line 171) | def skip_create method factory (line 175) | def factory(name, options = {}, &block) method trait (line 179) | def trait(name, &block) method traits_for_enum (line 237) | def traits_for_enum(attribute_name, values = nil) method initialize_with (line 241) | def initialize_with(&block) method __declare_attribute__ (line 247) | def __declare_attribute__(name, block) method __valid_association_options? (line 256) | def __valid_association_options?(options) method __fetch_or_register_sequence (line 264) | def __fetch_or_register_sequence(sequence) FILE: lib/factory_bot/enum.rb type FactoryBot (line 1) | module FactoryBot class Enum (line 3) | class Enum method initialize (line 4) | def initialize(attribute_name, values = nil) method build_traits (line 9) | def build_traits(klass) method enum_values (line 17) | def enum_values(klass) method build_trait (line 21) | def build_trait(trait_name, attribute_name, value) FILE: lib/factory_bot/errors.rb type FactoryBot (line 1) | module FactoryBot class AssociationDefinitionError (line 3) | class AssociationDefinitionError < RuntimeError; end class TraitDefinitionError (line 6) | class TraitDefinitionError < RuntimeError; end class InvalidCallbackNameError (line 9) | class InvalidCallbackNameError < RuntimeError; end class DuplicateDefinitionError (line 12) | class DuplicateDefinitionError < RuntimeError; end class SequenceAbuseError (line 15) | class SequenceAbuseError < RuntimeError; end class AttributeDefinitionError (line 18) | class AttributeDefinitionError < RuntimeError; end class AssociationDefinitionError (line 21) | class AssociationDefinitionError < RuntimeError; end class MethodDefinitionError (line 24) | class MethodDefinitionError < RuntimeError; end class InvalidFactoryError (line 27) | class InvalidFactoryError < RuntimeError; end FILE: lib/factory_bot/evaluation.rb type FactoryBot (line 1) | module FactoryBot class Evaluation (line 2) | class Evaluation method initialize (line 3) | def initialize(evaluator, attribute_assigner, to_create, observer) method create (line 12) | def create(result_instance) method notify (line 19) | def notify(name, result_instance) FILE: lib/factory_bot/evaluator.rb type FactoryBot (line 3) | module FactoryBot class Evaluator (line 5) | class Evaluator method initialize (line 12) | def initialize(build_strategy, overrides = {}) method association (line 23) | def association(factory_name, *traits_and_overrides) method method_missing (line 37) | def method_missing(method_name, ...) method respond_to_missing? (line 45) | def respond_to_missing?(method_name, _include_private = false) method __override_names__ (line 49) | def __override_names__ method increment_sequence (line 53) | def increment_sequence(sequence, scope: self) method attribute_list (line 64) | def self.attribute_list method define_attribute (line 72) | def self.define_attribute(name, &block) FILE: lib/factory_bot/evaluator_class_definer.rb type FactoryBot (line 1) | module FactoryBot class EvaluatorClassDefiner (line 3) | class EvaluatorClassDefiner method initialize (line 4) | def initialize(attributes, parent_class) method evaluator_class (line 13) | def evaluator_class FILE: lib/factory_bot/factory.rb type FactoryBot (line 4) | module FactoryBot class Factory (line 6) | class Factory method initialize (line 9) | def initialize(name, options = {}) method build_class (line 24) | def build_class method run (line 34) | def run(build_strategy, overrides, &block) method human_names (line 54) | def human_names method associations (line 58) | def associations method names (line 87) | def names method compile (line 91) | def compile method with_traits (line 101) | def with_traits(traits) method class_name (line 109) | def class_name method evaluator_class (line 113) | def evaluator_class method attributes (line 117) | def attributes method hierarchy_class (line 124) | def hierarchy_class method hierarchy_instance (line 128) | def hierarchy_instance method build_hierarchy (line 132) | def build_hierarchy method callbacks (line 136) | def callbacks method compiled_to_create (line 140) | def compiled_to_create method compiled_constructor (line 144) | def compiled_constructor method assert_valid_options (line 150) | def assert_valid_options(options) method parent (line 154) | def parent method inherit_parent_traits (line 162) | def inherit_parent_traits method initialize_copy (line 169) | def initialize_copy(source) FILE: lib/factory_bot/factory_runner.rb type FactoryBot (line 1) | module FactoryBot class FactoryRunner (line 2) | class FactoryRunner method initialize (line 3) | def initialize(name, strategy, traits_and_overrides) method run (line 11) | def run(runner_strategy = @strategy, &block) FILE: lib/factory_bot/find_definitions.rb type FactoryBot (line 1) | module FactoryBot function find_definitions (line 12) | def self.find_definitions FILE: lib/factory_bot/internal.rb type FactoryBot (line 1) | module FactoryBot type Internal (line 3) | module Internal function configuration (line 19) | def configuration function reset_configuration (line 23) | def reset_configuration function register_inline_sequence (line 27) | def register_inline_sequence(sequence) function rewind_inline_sequences (line 32) | def rewind_inline_sequences function register_trait (line 36) | def register_trait(trait) function trait_by_name (line 43) | def trait_by_name(name, klass) function register_sequence (line 47) | def register_sequence(sequence) function sequence_by_name (line 54) | def sequence_by_name(name) function rewind_sequences (line 58) | def rewind_sequences function rewind_sequence (line 63) | def rewind_sequence(*uri_parts) function set_sequence (line 72) | def set_sequence(*uri_parts, value) function register_factory (line 79) | def register_factory(factory) function factory_by_name (line 86) | def factory_by_name(name) function register_strategy (line 90) | def register_strategy(strategy_name, strategy_class) function strategy_by_name (line 95) | def strategy_by_name(name) function register_default_strategies (line 99) | def register_default_strategies function build_uri (line 109) | def build_uri(...) function fail_argument_count (line 113) | def fail_argument_count(received, expected) function fail_unregistered_sequence (line 118) | def fail_unregistered_sequence(uri) FILE: lib/factory_bot/linter.rb type FactoryBot (line 1) | module FactoryBot class Linter (line 2) | class Linter method initialize (line 3) | def initialize(factories, strategy: :create, traits: false, verbose:... method lint! (line 11) | def lint! method calculate_invalid_factories (line 21) | def calculate_invalid_factories class FactoryError (line 28) | class FactoryError method initialize (line 29) | def initialize(wrapped_error, factory) method message (line 34) | def message method verbose_message (line 39) | def verbose_message method location (line 46) | def location class FactoryTraitError (line 51) | class FactoryTraitError < FactoryError method initialize (line 52) | def initialize(wrapped_error, factory, trait_name) method location (line 57) | def location method lint (line 62) | def lint(factory) method lint_factory (line 70) | def lint_factory(factory) method lint_traits (line 80) | def lint_traits(factory) method error_message (line 90) | def error_message method error_message_type (line 102) | def error_message_type method in_transaction (line 110) | def in_transaction FILE: lib/factory_bot/null_factory.rb type FactoryBot (line 1) | module FactoryBot class NullFactory (line 3) | class NullFactory method initialize (line 6) | def initialize method compile (line 13) | def compile method class_name (line 16) | def class_name method evaluator_class (line 19) | def evaluator_class method hierarchy_class (line 23) | def hierarchy_class FILE: lib/factory_bot/null_object.rb type FactoryBot (line 1) | module FactoryBot class NullObject (line 3) | class NullObject < ::BasicObject method initialize (line 4) | def initialize(methods_to_respond_to) method method_missing (line 8) | def method_missing(name, *args, &block) # rubocop:disable Style/Miss... method respond_to? (line 16) | def respond_to?(method) FILE: lib/factory_bot/registry.rb type FactoryBot (line 3) | module FactoryBot class Registry (line 4) | class Registry method initialize (line 9) | def initialize(name) method clear (line 14) | def clear method each (line 18) | def each(&block) method find (line 22) | def find(name) method register (line 30) | def register(name, item) method registered? (line 34) | def registered?(name) method key_error_with_custom_message (line 40) | def key_error_with_custom_message(key_error) method new_key_error (line 50) | def new_key_error(message, key_error) method new_key_error (line 54) | def new_key_error(message, _) FILE: lib/factory_bot/reload.rb type FactoryBot (line 1) | module FactoryBot function reload (line 2) | def self.reload FILE: lib/factory_bot/sequence.rb type FactoryBot (line 3) | module FactoryBot class Sequence (line 7) | class Sequence method find (line 10) | def self.find(*uri_parts) method find_by_uri (line 18) | def self.find_by_uri(uri) method initialize (line 24) | def initialize(name, *args, &proc) method next (line 37) | def next(scope = nil) method names (line 49) | def names method has_name? (line 53) | def has_name?(test_name) method has_uri? (line 57) | def has_uri?(uri) method for_factory? (line 61) | def for_factory?(test_factory_name) method rewind (line 65) | def rewind method set_value (line 73) | def set_value(new_value) method value (line 89) | def value method increment_value (line 93) | def increment_value method can_set_value_by_index? (line 97) | def can_set_value_by_index? method set_value_by_index (line 104) | def set_value_by_index(value) method seek_value (line 114) | def seek_value(value) method reset_original_value (line 134) | def reset_original_value(original_value) method can_set_value_directly? (line 142) | def can_set_value_directly?(value) method fail_value_not_found (line 148) | def fail_value_not_found(value) class EnumeratorAdapter (line 152) | class EnumeratorAdapter method initialize (line 153) | def initialize(initial_value) method peek (line 157) | def peek method next (line 161) | def next method rewind (line 165) | def rewind method set_value (line 169) | def set_value(new_value) method integer_value? (line 177) | def integer_value? method first_value (line 183) | def first_value method value (line 187) | def value method initial_value (line 191) | def initial_value FILE: lib/factory_bot/strategy.rb type FactoryBot (line 7) | module FactoryBot type Strategy (line 8) | module Strategy function lookup_strategy (line 9) | def self.lookup_strategy(name_or_object) FILE: lib/factory_bot/strategy/attributes_for.rb type FactoryBot (line 1) | module FactoryBot type Strategy (line 2) | module Strategy class AttributesFor (line 3) | class AttributesFor method association (line 4) | def association(runner) method result (line 8) | def result(evaluation) method to_sym (line 12) | def to_sym FILE: lib/factory_bot/strategy/build.rb type FactoryBot (line 1) | module FactoryBot type Strategy (line 2) | module Strategy class Build (line 3) | class Build method association (line 4) | def association(runner) method result (line 8) | def result(evaluation) method to_sym (line 16) | def to_sym FILE: lib/factory_bot/strategy/create.rb type FactoryBot (line 1) | module FactoryBot type Strategy (line 2) | module Strategy class Create (line 3) | class Create method association (line 4) | def association(runner) method result (line 8) | def result(evaluation) method to_sym (line 19) | def to_sym FILE: lib/factory_bot/strategy/null.rb type FactoryBot (line 1) | module FactoryBot type Strategy (line 2) | module Strategy class Null (line 3) | class Null method association (line 4) | def association(runner) method result (line 7) | def result(evaluation) method to_sym (line 10) | def to_sym FILE: lib/factory_bot/strategy/stub.rb type FactoryBot (line 1) | module FactoryBot type Strategy (line 2) | module Strategy class Stub (line 3) | class Stub method next_id= (line 27) | def self.next_id=(id) method association (line 31) | def association(runner) method result (line 35) | def result(evaluation) method to_sym (line 44) | def to_sym method next_id (line 50) | def next_id(result_instance) method stub_database_interaction_on_result (line 58) | def stub_database_interaction_on_result(result_instance) method has_settable_id? (line 85) | def has_settable_id?(result_instance) method uuid_primary_key? (line 91) | def uuid_primary_key?(result_instance) method clear_changes_information (line 98) | def clear_changes_information(result_instance) method set_timestamps (line 104) | def set_timestamps(result_instance) method missing_created_at? (line 116) | def missing_created_at?(result_instance) method missing_updated_at? (line 122) | def missing_updated_at?(result_instance) FILE: lib/factory_bot/strategy_syntax_method_registrar.rb type FactoryBot (line 1) | module FactoryBot class StrategySyntaxMethodRegistrar (line 3) | class StrategySyntaxMethodRegistrar method initialize (line 4) | def initialize(strategy_name) method define_strategy_methods (line 8) | def define_strategy_methods method with_index (line 14) | def self.with_index(block, index) method define_singular_strategy_method (line 24) | def define_singular_strategy_method method define_list_strategy_method (line 32) | def define_list_strategy_method method define_pair_strategy_method (line 47) | def define_pair_strategy_method method define_syntax_method (line 55) | def define_syntax_method(name, &block) FILE: lib/factory_bot/syntax.rb type FactoryBot (line 4) | module FactoryBot type Syntax (line 5) | module Syntax FILE: lib/factory_bot/syntax/default.rb type FactoryBot (line 1) | module FactoryBot type Syntax (line 2) | module Syntax type Default (line 3) | module Default function define (line 6) | def define(&block) function modify (line 10) | def modify(&block) class DSL (line 14) | class DSL method factory (line 15) | def factory(name, options = {}, &block) method sequence (line 28) | def sequence(name, ...) method trait (line 32) | def trait(name, &block) method run (line 36) | def self.run(block) class ModifyDSL (line 49) | class ModifyDSL method factory (line 50) | def factory(name, _options = {}, &block) method run (line 56) | def self.run(block) FILE: lib/factory_bot/syntax/methods.rb type FactoryBot (line 1) | module FactoryBot type Syntax (line 2) | module Syntax type Methods (line 32) | module Methods function generate (line 120) | def generate(*uri_parts, scope: nil) function generate_list (line 144) | def generate_list(*uri_parts, count, scope: nil) function increment_sequence (line 169) | def increment_sequence(sequence, scope: nil) FILE: lib/factory_bot/syntax_runner.rb type FactoryBot (line 1) | module FactoryBot class SyntaxRunner (line 3) | class SyntaxRunner FILE: lib/factory_bot/trait.rb type FactoryBot (line 1) | module FactoryBot class Trait (line 3) | class Trait method initialize (line 9) | def initialize(name, **options, &block) method clone (line 22) | def clone method names (line 26) | def names method == (line 30) | def ==(other) FILE: lib/factory_bot/uri_manager.rb type FactoryBot (line 1) | module FactoryBot class UriManager (line 3) | class UriManager method build_uri (line 16) | def self.build_uri(*parts) method initialize (line 35) | def initialize(*endpoints, paths: []) method to_a (line 47) | def to_a method build_uri_list (line 53) | def build_uri_list FILE: lib/factory_bot/version.rb type FactoryBot (line 1) | module FactoryBot FILE: spec/acceptance/activesupport_instrumentation_spec.rb type SubscribedBehavior (line 2) | module SubscribedBehavior function subscribed (line 3) | def subscribed(callback, *args) FILE: spec/acceptance/attribute_existing_on_object_spec.rb function some_funky_method (line 28) | def some_funky_method(args) function format (line 54) | def format FILE: spec/acceptance/attributes_for_spec.rb function initialize (line 87) | def initialize(arg1, arg2) FILE: spec/acceptance/attributes_from_instance_spec.rb function age (line 4) | def age FILE: spec/acceptance/build_stubbed_spec.rb function created_at (line 188) | def created_at function updated_at (line 253) | def updated_at FILE: spec/acceptance/callbacks_spec.rb function confirmed? (line 280) | def confirmed? function confirm! (line 284) | def confirm! function result (line 336) | def result(evaluation) function result (line 346) | def result(evaluation) function result (line 356) | def result(evaluation) function name (line 366) | def name function title= (line 486) | def self.title=(new_title) function title (line 490) | def self.title FILE: spec/acceptance/create_spec.rb function initialize (line 62) | def initialize function persist (line 66) | def persist function persisted? (line 70) | def persisted? FILE: spec/acceptance/defining_methods_inside_a_factory_spec.rb function generate_name (line 8) | def generate_name FILE: spec/acceptance/enum_traits_spec.rb function define_model_with_enum (line 2) | def define_model_with_enum(class_name, field, values) function each (line 101) | def each(&block) FILE: spec/acceptance/global_initialize_with_spec.rb function initialize (line 6) | def initialize(name) function initialize (line 14) | def initialize(name) function initialize (line 68) | def initialize(name) FILE: spec/acceptance/initialize_with_spec.rb function construct (line 6) | def self.construct(name, age) function construct (line 28) | def self.construct(name) function initialize (line 55) | def initialize(name, data) function initialize (line 88) | def initialize(name) function initialize (line 128) | def initialize(name) function initialize (line 155) | def initialize(name) function initialize (line 185) | def initialize(attributes = {}) function initialize (line 220) | def initialize(attributes:) function initialize (line 243) | def initialize(&block) function initialize (line 263) | def initialize(contents) FILE: spec/acceptance/lint_spec.rb function save! (line 174) | def save! function save! (line 194) | def save! function save! (line 218) | def save! FILE: spec/acceptance/overrides_spec.rb function secure= (line 9) | def secure=(value) FILE: spec/acceptance/register_strategies_spec.rb function result (line 10) | def result(evaluation) FILE: spec/acceptance/sequence_context_spec.rb function awesome (line 8) | def awesome FILE: spec/acceptance/sequence_spec.rb function initialise (line 113) | def initialise function called? (line 117) | def called? function call (line 121) | def call FILE: spec/acceptance/stub_spec.rb function using_model (line 153) | def using_model(name, primary_key:) FILE: spec/acceptance/syntax_methods_within_dynamic_attributes_spec.rb function generate (line 6) | def generate FILE: spec/acceptance/traits_spec.rb function build_user_factory_with_admin_trait (line 293) | def build_user_factory_with_admin_trait(trait_name) function initialize (line 700) | def initialize(name) function initialize (line 777) | def initialize(name) FILE: spec/acceptance/transient_attributes_spec.rb function initialize (line 99) | def initialize(id, name) FILE: spec/factory_bot/attribute/association_spec.rb function association (line 13) | def association(*args) FILE: spec/factory_bot/attribute/dynamic_spec.rb function attribute_defined_on_attribute (line 33) | def attribute_defined_on_attribute(*args) FILE: spec/factory_bot/attribute_list_spec.rb type AttributeList (line 1) | module AttributeList function build_attribute_list (line 2) | def build_attribute_list(*attributes) function build_ignored_attribute (line 97) | def build_ignored_attribute(name) function build_non_ignored_attribute (line 101) | def build_non_ignored_attribute(name) function build_ignored_attribute (line 127) | def build_ignored_attribute(name) function build_non_ignored_attribute (line 131) | def build_non_ignored_attribute(name) function build_association (line 135) | def build_association(name) FILE: spec/factory_bot/definition_proxy_spec.rb function build_proxy (line 79) | def build_proxy(factory_name) FILE: spec/factory_bot/evaluator_class_definer_spec.rb function define_evaluator (line 57) | def define_evaluator(arguments = {}) function define_evaluator_class (line 62) | def define_evaluator_class(arguments = {}) function stub_attribute (line 70) | def stub_attribute(name = :attribute, &value) FILE: spec/factory_bot/factory_spec.rb function to_s (line 160) | def self.to_s function build_factory (line 302) | def build_factory FILE: spec/factory_bot/find_definitions_spec.rb function in_directory_with_files (line 28) | def self.in_directory_with_files(*files) FILE: spec/support/containers/test_log.rb type TestLog (line 6) | module TestLog function all (line 13) | def all function reset! (line 17) | def reset! function log_array (line 23) | def log_array FILE: spec/support/macros/define_constant.rb type DefineConstantMacros (line 3) | module DefineConstantMacros function define_class (line 4) | def define_class(path, base = Object, &block) function define_model (line 10) | def define_model(name, columns = {}, &block) function create_table (line 20) | def create_table(table_name, &block) function clear_generated_tables (line 34) | def clear_generated_tables function clear_generated_table (line 41) | def clear_generated_table(table_name) function created_tables (line 49) | def created_tables FILE: spec/support/macros/temporary_assignment.rb type TemporaryAssignment (line 1) | module TemporaryAssignment function with_temporary_assignment (line 2) | def with_temporary_assignment(assignee, attribute, temporary_value) FILE: spec/support/matchers/declaration.rb type DeclarationMatchers (line 1) | module DeclarationMatchers function have_dynamic_declaration (line 2) | def have_dynamic_declaration(name) function have_association_declaration (line 6) | def have_association_declaration(name) function have_implicit_declaration (line 10) | def have_implicit_declaration(name) class DeclarationMatcher (line 14) | class DeclarationMatcher method initialize (line 15) | def initialize(declaration_type) method matches? (line 19) | def matches?(subject) method named (line 23) | def named(name) method ignored (line 28) | def ignored method with_value (line 33) | def with_value(value) method with_factory (line 38) | def with_factory(factory) method with_options (line 43) | def with_options(options) method failure_message (line 48) | def failure_message method expected_declaration (line 57) | def expected_declaration method ignored? (line 70) | def ignored? method options (line 74) | def options FILE: spec/support/shared_examples/strategy.rb function association_named (line 5) | def association_named(name, overrides) function association_named (line 24) | def association_named(name, strategy, overrides) function association_named (line 49) | def association_named(name, overrides)