Skip to content

uninitialized constant Pagy::DEFAULT (NameError) #136

@Rex-am-I

Description

@Rex-am-I

Rails 6.1.4.1 and pagy 4.11.0

I installed pagy ( gem "pagy" in my gemfile) and ran bundle install

  • entered "include Pagy::Backend" and "include Pagy::Frontend" in my application_controller and application_helper files, respectively.
  • created a pagy.rb and pasted the contents from the file on github. I did not edit this file.

Started my rails app and got an "uninitialized constant Pagy::DEFAULT (NameError)" error.

I repeated this process for a number of times without success. What am I missing?

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