You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you want to translate and load data (or translate and dump data), factory filter is to solve this problem.
FactoryLoadFilter
factory filter is ruby DSL (defined "config/flextures.factory.rb").
below sample, is translate and load users table data.
users table's "last_login_date" column data set 3 day before time.
if you cannot load table data.
At first, you should test Model binding argument set!
Factory load filter second argument is used to bind ActiveRecord Model.
Almost problem is solved this method.