I want that when I make changes in factories, I see them in rails console without restarting all console.
I've found some lines and tested them with a poor understanding of what's going on, documentation isn't clear for me.:
FactoryGirl.reload
I've also tested:
> FactoryGirl.factories.clear
> FactoryGirl.find_definitions # also tested FactoryGirl.factories.find_definitions
# but NoMethodError is raised
=> ActiveRecord::RecordNotFound: Couldn't find Address with ID=277 Torphy Squares
FactoryGirl.reload
– Mild