I just installed the will_paginate, 3.0.7
and bootstrap-will_paginate, 0.0.10
gem and when i call the following to get my articles paginated
def index
@articles = Article.paginate(page: params[:page], per_page: 5)
end
I get the following error upon attempting to launch the localhost server
/Users/Jack/.rvm/gems/ruby-2.3.1@global/gems/activesupport-5.0.0.1/lib/active_support/i18n_railtie.rb:45:in `map': undefined method `existent' for #<String:0x007fd4a2bfa5d0> (NoMethodError)
Did you mean? extend
What's going wrong?
will_paginate
to use version 3.1.5 ?