RAILS and STI: failure to detect table inheritance, crash

Hi @remi_okarito !
I’m not sure if you already saw that or not, but type should not be used as a column name because it is a reserved word for ActiveRecord.
More about that here.
Let me know if it helps you !