Skip to main content
Ask A Question
Notifications
You’re not receiving notifications from this thread.
Subscribe

Pagy Frontend Extra MAterialize

Rails • Asked by Víctor Soto

Hi Chris,

I followed your toturial of pagination with Pagy gem, all is fine until when I add the extra frontend materialize. I did this:

  1. Create a pagy.rb file into config/initializers folder
  2. Add this line require 'pagy/extras/materialize' in pagy.rb
  3. In my view use <%= pagy_materialize_nav(@pagy).html_safe %>

when I restart rails server, get this error:
`require': cannot load such file -- pagy/extras/materialize (LoadError)

What can I do to solve it?

Thanks!


Did you add the gem 'pagy' into the Gemfile?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,152+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.