--- !ruby/object:RI::MethodDescription 
aliases: 
- !ruby/object:RI::AliasName 
  name: gen
block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates an instance from hash of attributes, saves it and adds it to the record map. Attributes given as the second argument are merged into attributes from fixture.
- !ruby/struct:SM::Flow::P 
  body: If record is valid because of duplicated property value, this method does a retry.
- !ruby/struct:SM::Flow::P 
  body: "@param name [Symbol] @param attributes [Hash]"
- !ruby/struct:SM::Flow::P 
  body: "@api public"
- !ruby/struct:SM::Flow::P 
  body: "@returns [DataMapper::Resource] added instance"
full_name: DataMapper::Model#generate
is_singleton: false
name: generate
params: (name = default_fauxture_name, attributes = {})
visibility: public
