I have a Rails Engine and I want to access the parents models. Is that possible? If so, how would I do it?
I didn't find any official documentation about it, but here's how you could still do it:
tests = ::Test.all
It'll return all tests from the parent app Test model.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With