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
Removing sequence(:id) automatically breaks the factory, not only for non-database POROs, but also DB models with id is not generated. According to the issue thoughtbot/factory_bot_rails#438, such models exist on some applications. Thus, I think FactoryBot/IdSequence should not be marked as SAFE.
The text was updated successfully, but these errors were encountered:
FactoryBot/IdSequence
cop #52 (comment)Removing
sequence(:id)
automatically breaks the factory, not only for non-database POROs, but also DB models with id is not generated. According to the issue thoughtbot/factory_bot_rails#438, such models exist on some applications. Thus, I think FactoryBot/IdSequence should not be marked as SAFE.The text was updated successfully, but these errors were encountered: