You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Maybe too late but in case anyone wants to dig in deeper, I've had this problem on models using 'acts_as_votable/acts_as_voter' from acts_as_votable gem
Temp commenting those lines works, so haven't tried to update that gem (using 0.12.1), maybe it's fixed with newer versions
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/
The text was updated successfully, but these errors were encountered: