lib/journeyman/builder.rb
def create(attrs={})
      build(attrs).tap { |instance|
        instance.save!
        Journeyman.execute(after_create_callback, instance, attrs)
      }
    end
def create(attrs={})
      build(attrs).tap { |instance|
        instance.save!
        Journeyman.execute(after_create_callback, instance, attrs)
      }
    end
def create ( attrs = { } ) build ( attrs ) . tap { | instance | instance . save! Journeyman . execute ( after_create_callback , instance , attrs ) } end
Internal: Create a new instance, using the configuration specified in the
 factory.

 attrs - The attributes used to build the object

 Returns a new instance of the object.
Internal : Create a new instance using the configuration specified in the factory .