Thanks to visit codestin.com
Credit goes to github.com

Skip to content

exception can't modify frozen String raised while trying to load model #124

@laiskajoonas

Description

@laiskajoonas

I'm trying to run railroady on my rails 5.2 project, but I get bunch of exceptions complaining about the frozen literals and the model diagram does not have the relations correctly. frozen_string_literal: true stanza is recommended by rubocop. Is there a way to circumvent this problem? Other than removing all froze_string_literal lines from the project. I'm running railroady with following parameters:

railroady
-e app/models/<model_name>,
--hide-types --hide-through --hide-magic --include-concerns -m -M

The Warning is as follows:

Warning: exception can't modify frozen String raised while trying to load model class app/models/

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