Skip to content

Commit

Permalink
fix tasks/create_products.rake: task #7
Browse files Browse the repository at this point in the history
Add show page with bootstrap classes.
  • Loading branch information
Pauloparakleto committed Dec 26, 2023
1 parent 54cb030 commit 6893c27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/create_products.rake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
desc 'Creating Products...'

task create_products: :environment do
Product.skip_callback(:create, :after, :create_stock)
Product.skip_callback(:save, :after, :synchronize_stock)
products = []

100.times do
Expand Down

0 comments on commit 6893c27

Please sign in to comment.