mislav/will_paginate — Issue #200: Bug with :entry_name for page_entries_info?
Author: Justinwceo
Created: 2011-11-16 02:33:44+00:00
State: open

For some strange reason the parameter isn't working:

<% if @user_prices.length > 0 && @user_prices.total_pages > 1 %>

<%= page_entries_info @user_prices, :entry_name => "Product", :plural_name => "Products" %>

<% end %>
<%= will_paginate @user_prices, :container => false %>

It never goes to `Product` and `Products`, it just stays at `User price`. Is this some bug or what am I doing wrong?

These are my gems:

gem 'rails', '3.0.9'
gem 'sunspot_rails'
gem 'will_paginate', '3.0.2