Using Forest Admin along with Rails and STI, reload breaks everything.
When the Rails cache is deactivated for development purposes, declared STI systematically down the response.
Console issue:
Forest 🌳🌳🌳 Records Index error: Invalid single-table inheritance type: XXX is not a subclass of YYY
Where XXX
extends YYY
, and YYY
extends ActiveRecord::Base
A repository reproducing the error is available here: GitHub - off-works/forest-sti. Just follow README.md instructions.