Replies: 1 comment
-
That is a strange error. It seems to suggest that you were calling In any case, I think splitting them is a much better option in the end 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following is a very oddness error message which i consider it useful to mention here, you can reproduce it use following sample app strange_error branch.
https://github.com/one-in-ten-thousand/production_line_report/tree/strange_error
Basically, i just want to use a component for common purpose, this is source code.
as you can see, it just a each loop on records, with, pass the different part into it.
Strange things start happen here,
I use it like this in two different page.
When i try to build on it, i get following error message.
error trace, click to open
The really wired things is,
show.with(record)
, there never any relation to the Admin::Companies::Create,Why raise this error instead? it only used in
pages/admin/companies/new_page.cr:9
byform_for Create do
.The fix is simple, split above components to two, all works fine.
So, any idea?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions