Skip to content

uninitialized constant Slim::RailsTemplate (NameError) #915

@kallesuomala

Description

@kallesuomala

After upgrading Slim 4.1.0 -> 5.1.0 on my Rails app, I get the following error from the config/initializers/slim.rb:3

Slim::RailsTemplate.set_options streaming: false

uninitialized constant Slim::RailsTemplate (NameError)

Removing the line gets rid of the error, but how can I disable http streaming with the new version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions