Use record_param in more places
#4259
adrianthedev
started this conversation in
General
Replies: 1 comment
|
Perfect description, thank you! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When we have a non-unique and nested
to_paramoverride, we get into trouble./namespace/one/gems/avoand another one/namespace/two/gems/avo. Thefindmethod will return the first one it finds.Avo will generate all
gem_path(gem)as/avo/resources/gems/avo. The user might want to use a differentto_paramvalue.We can override it in
record_parambut Avo doens't use that everywhere. It sometimes uses therecord.to_paramvalue. It should useresource.record_param.All reactions