At the point of initialization, when running migrations and the table did not exist for the resource
class at that point, it would fail with the following error:
ActiveRecord::StatementInvalid: <database-adapter>::UndefinedTable: ERROR: relation
"<table-name-for-model>" does not exist
At the point of initialization, when running migrations and the table did not exist for the resource class at that point, it would fail with the following error:
The inspiration for this fix came from https://github.com/randym/activeadmin-axlsx/pull/35