Check your database for invalid models.
Add this line to your Gemfile
gem 'validb'
And then:
bundle
rake validb:generate_config
{
"ignored_models": [
"Blog",
"Post"
],
"ignored_prefixes": [
"Api"
],
"batch_size": 1000
}
sidekiq -L log/sidekiq.log
rake validb:validate
rake validb:validate models="Blog,Comment"
Released under the MIT License