Skip to content

No implicit conversion of nil into String error. #1100

Description

@muneebnawaz97

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions