You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to suggest an improvement for the error messages.
I deleted a relation from my model but it was still referenced in an includes clause.
So I got an error message like:
'Association named 'label' was not found on Disk; perhaps you misspelled it?'
and it was not really obvious where this came from.
I believe the error message can be improved.
This obviously comes from a part of rails that wants to resolve the includes clause.
So maybe something like:
'Association named 'label' _referenced in includes_ was not found on Disk; perhaps you misspelled it?'
could be done
I was thinking about:
We might want to add more information to the call chain,
to improve error reporting (in debug mode)
We actually might want to add a debug:{} to every binding.
2p
~eike
The text was updated successfully, but these errors were encountered:
I'd like to suggest an improvement for the error messages.
I deleted a relation from my model but it was still referenced in an includes clause.
So I got an error message like:
'Association named 'label' was not found on Disk; perhaps you misspelled it?'
and it was not really obvious where this came from.
I believe the error message can be improved.
This obviously comes from a part of rails that wants to resolve the includes clause.
So maybe something like:
'Association named 'label' _referenced in includes_ was not found on Disk; perhaps you misspelled it?'
could be done
I was thinking about:
We might want to add more information to the call chain,
to improve error reporting (in debug mode)
We actually might want to add a debug:{} to every binding.
2p
~eike
The text was updated successfully, but these errors were encountered: