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?