Skip to content

Errors when the DSL calls an inflector method #3

@Samsinite

Description

@Samsinite

Hi!
I keep getting:

undefined method `underscore' for "<resource singular name>":String

when a resource is saved.

I'd be happy to submit a PR to fix this, the gem already includes graphiti, which depends on active support, I believe that the DSL just needs to require 'active_support' and then require 'active_support/core_ext/string/inflections' in order to have access to these methods, but I could be mistaken. Adding that to the guard file at least is what worked for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions