-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
when running the seed data #db/seed.rb it returns this error:
ActiveRecord::RecordInvalid: Validation failed: Puzzle has already been taken (ActiveRecord::RecordInvalid)
/Users/juan/code/ombu/oss/ruby_or_rails/db/seeds.rb:70:in 'block (2 levels) in <main>'
/Users/juan/code/ombu/oss/ruby_or_rails/db/seeds.rb:69:in 'block in <main>'
/Users/juan/code/ombu/oss/ruby_or_rails/db/seeds.rb:58:in 'Array#each'
/Users/juan/code/ombu/oss/ruby_or_rails/db/seeds.rb:58:in '<main>'
Tasks: TOP => db:seed
can you help me fixing it?
Metadata
Metadata
Assignees
Labels
No labels