Hello André
How did you manage to use ActiveRecord in your plugin? Did you face any issue as mentioned here?
Greetings