I am getting an error that randomly pops up whenever I make changes. If I refresh the page after getting the error, it goes away. The error:
NameError wrong constant name primary
I have searched my entire application and I do not have any methods or constants using the word primary. Why is my Rails application trying to call something that doesn't exist?
Okay, so it looks like this will be fixed in the next release. The fix was referenced here: https://github.com/rails/rails/issues/36757
So, wait a week or two, update Rails and this will be resolved.
Edit: As a workaround, I reverted from 6.0.0.rc2 to 6.0.0.rc1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With