Created
December 17, 2018 19:04
-
-
Save pdjota/bd8fcd54749fb2dd1d57f855cc0218e1 to your computer and use it in GitHub Desktop.
Rails notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#based on https://stackoverflow.com/questions/18195851/how-do-i-use-factories-from-factorygirl-in-rails-console | |
# docker-compose run complaint rails c --sandbox | |
require 'factory_girl' | |
FactoryGirl.find_definitions | |
FactoryGirl.create :user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment