I'm getting a undefined method `paginate' for #<Class:0x567eb98> even
though I have gem 'will_paginate' installed.
Inside the users_controller I have @users = User.paginate(page: params[:page
so I believe I set everything up to be correct.
Can you figure out why the method's undefined, despite installing the gem?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9797759a-d807-468f-960d-4447b76b8a00%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.