avo icon indicating copy to clipboard operation
avo copied to clipboard

Add support for belongs_to :though

Open adrianthedev opened this issue 3 years ago • 4 comments
trafficstars

Feature

The bloengs_to :through association might not be working properly.

Current workarounds

Screenshots

Additional context

adrianthedev avatar Apr 14 '22 14:04 adrianthedev

This issue has been marked as stale because there was no activity for the last 60 days

github-actions[bot] avatar Jun 14 '22 03:06 github-actions[bot]

ActiveRecord does not support belongs_to :___ through: :___. Only has_many and has_one can have :through.

lorint avatar Jun 23 '22 16:06 lorint

Yeah, my bad there. I meant to say has_one, and I think it's supported 🙂 I'll check Avo and remove this if so.

adrianthedev avatar Jun 23 '22 18:06 adrianthedev

Thank you for the message

adrianthedev avatar Jun 23 '22 18:06 adrianthedev

The :through associations are supported. Closing for now

adrianthedev avatar Dec 03 '22 20:12 adrianthedev