Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No implicit conversion of nil into String error. #1100

Open
muneebnawaz97 opened this issue Feb 26, 2023 · 0 comments
Open

No implicit conversion of nil into String error. #1100

muneebnawaz97 opened this issue Feb 26, 2023 · 0 comments

Comments

@muneebnawaz97
Copy link

muneebnawaz97 commented Feb 26, 2023

When i try to update a table in this case lessons and they contain tags. The gem throws a "No implicit conversion of nil into String error."

Screenshot 2023-02-26 at 5 19 08 AM

upon investigation i found that line 285 fails in the gem fails

Screenshot 2023-02-26 at 5 25 40 AM

When i change the code to create an instance first and then save. It works

Screenshot 2023-02-26 at 5 19 18 AM

The postgres adapter gets nil at some point in the chain and this object creation fails

Screenshot 2023-02-26 at 5 18 47 AM

This is the lesson object

Screenshot 2023-02-26 at 5 19 02 AM

The gem is receiving all props. Nothing is nil. but create still throws an error

Screenshot 2023-02-26 at 5 29 18 AM

This is the same lesson object as above

Screenshot 2023-02-26 at 5 29 25 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant