Sha256: 9e8dffac09cf008d5670fa685f1c7b20bc62563ed273e25ecbf33b5c58fdc816

Contents?: true

Size: 598 Bytes

Versions: 1

Compression:

Stored size: 598 Bytes

Contents

# FactoryBotGenerator


## Installation

Add this line to your application's Gemfile:

```ruby
gem 'factory_bot_generator'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install factory_bot_generator

## Usage

```ruby

user = User.first

puts FactoryBotGenerator::Base.render(user)
puts FactoryBotGenerator::Base.render(user, { name: :first_user })
puts FactoryBotGenerator::Base.render(user, { exclude: [:password, :last_name, :ssn] })

```



## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
factory_bot_generator-0.3.0 README.md