prey / gdpr_rails

Rails Engine for the GDPR compliance
https://preyproject.com
MIT License
626 stars 62 forks source link

Undefined method 'per' error when used with ActiveAdmin #51

Open TeamRainless opened 4 years ago

TeamRainless commented 4 years ago

If you try and use GDPR_Rails with ActiveAdmin... the minute you select any model it will throw up an "Undefined method 'per'" error.

In addition to this... the "has_one_attached" error for the User models containing an "avatar" using Active Storage is still very much present.

Uninstalling GDPR_Rails and removing all references resolved the "Undefined method per" error. It is suspected that GDPR_Rails uses either Kaminari or WillPaginate.