Skip to content

Instantly share code, notes, and snippets.

Avatar

Zeyu Chen xinyifly

View GitHub Profile
View rails-template.rb
inject_into_file 'Gemfile', after: "group :development, :test do\n" do <<-'RUBY'
gem 'faker', '~> 1.9'
RUBY
end
inject_into_file 'Gemfile', after: "group :development, :test do\n" do <<-'RUBY'
gem 'factory_bot_rails', '~> 5.0'
RUBY
end
You can’t perform that action at this time.