Skip to content

Support virtual_attributes in key_value field#1381

Merged
adrianthedev merged 1 commit into
avo-hq:mainfrom
rickychilcott:patch-1
Oct 31, 2022
Merged

Support virtual_attributes in key_value field#1381
adrianthedev merged 1 commit into
avo-hq:mainfrom
rickychilcott:patch-1

Conversation

@rickychilcott
Copy link
Copy Markdown
Contributor

Description

Key value fields only appear to work with ActiveRecord attributes. In order to support virtual attributes (and real attributes) a subtle code change is needed.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

Manual review steps

  1. Step 1
  2. Step 2

Manual reviewer: please leave a comment with output from the test if that's the case.

@qlty-cloud-legacy
Copy link
Copy Markdown

Code Climate has analyzed commit 1b83249 and detected 0 issues on this pull request.

View more on Code Climate.

@adrianthedev adrianthedev merged commit 1368a4a into avo-hq:main Oct 31, 2022
@adrianthedev
Copy link
Copy Markdown
Collaborator

Thank you @rickychilcott

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants