Skip to content

undefined method: singleton #105

@EnziinSystem

Description

@EnziinSystem

My environment:

  • Ruby 3.1.0
  • Rails 7.0.1
  • Ubuntu 20.04

I created a simple blog application for the demo and I use VSCode.

When I open any file then the typeprof gem show warning and an error message but the app does not error any.

[warning] superclass is any; Object is used insteadTypeProf
[error] undefined method: singleton(PostsController)#before_actionTypeProf

typeprof

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