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 running rake db:seed:dump, I see this error: NoMethodError: undefined methodexists?' for #Array:0x007fb2754070e8`
I traced the error, and it's because when env is empty, lib/seed_dump/environment.rb points to ActiveRecord::Base.descendants as models, and those don't have a .exists? method... is there something about this error that I'm missing?
The text was updated successfully, but these errors were encountered:
@ldanielw1 I'm only watching this gem so I have not installed this gem as yet. Based on the error, I feel it's a bug as Arrays in Ruby don't have exists? method, instead Arrays uses includes?. Or.. have you changed anything? Try using a new rails app and see if your code is causing some conflict.
When running rake db:seed:dump, I see this error:
NoMethodError: undefined method
exists?' for #Array:0x007fb2754070e8`I traced the error, and it's because when env is empty, lib/seed_dump/environment.rb points to ActiveRecord::Base.descendants as models, and those don't have a .exists? method... is there something about this error that I'm missing?
The text was updated successfully, but these errors were encountered: