Sha256: 92fc1441ac6bb0fdc18ae5d2040ca2725c9ea19b3cef52000ff831bf0df1eb32
Contents?: true
Size: 689 Bytes
Versions: 1
Compression:
Stored size: 689 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] }) ``` ## Deploy ``` gem build factory_bot_generator gem push factory_bot_generator-0.3.0.gem ``` ## 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.1 | README.md |