Skip to content

NoMethodError: private method `expire_primary_index' called #441

Closed

Description

I don't know this issue is caused by Identity cache or Draper gem so I post this issue to both repos

parent.expire_primary_index if parent.class.primary_cache_index_enabled

https://github.com/drapergem/draper/blob/4439ed8e84fd2af49f0df45fa21d7daf887b93ce/lib/draper/automatic_delegation.rb#L9


File /var/www/app/shared/bundle/ruby/2.5.0/gems/draper-4.0.0/lib/draper/automatic_delegation.rb line 10 in method_missing
File /var/www/app/shared/bundle/ruby/2.5.0/bundler/gems/identity_cache-c4799ac93b48/lib/identity_cache/parent_model_expiration.rb line 47 in block in expire_parent_caches
File /home/app/.rbenv/versions/2.5.5/lib/ruby/2.5.0/set.rb line 338 in each_key
File /home/app/.rbenv/versions/2.5.5/lib/ruby/2.5.0/set.rb line 338 in each

this was happening when trying to create a record
but succeed after submit my form again

drapergem/draper#876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions