Open markburns opened 8 years ago
This is known limitation of active_mocker. To add this feature it would take adjustments in the generation code as well the in-memory query engine. If you like assist with the process what would make things move faster would a PR with all the needed models and a failing testing in active_record_compatible_api.rb
I'm also trying to use a polymorphic association but the error I'm getting is
Polymorphic association does not support to compute class.
Is the polymorphic associations features already implemented? What does this error means and is there a way to solve it?
@RepoCorp Can you provide more context? I don't believe that error is coming from this gem. Given that, work has not been done to officially support polymorphic associations, but in some cases it might work.
Usage of polymorphic associations results in an exception
e.g.