scud bomb
scud bomb

Reputation: 417

will_paginate-3.0.pre2 gem not compatible with Rails 3, alternatives?

Are there effective gem alternatives for the gem will_paginate-3.0.pre2?

will_paginate-3.0.pre2 is not supported by our version of Rails which is 3.1.3?

We are continually working on Michael Hartl's Rails Tutorial, creating an application from scratch using this tutorial as a guideline, and it uses the above gem in the tutorial. Any chance we could insert one of these alternative gems compatible with Rails 3.1.3 where the will_paginate gem would have been inserted?

Upvotes: 0

Views: 964

Answers (3)

Austin
Austin

Reputation: 3646

This has been fixed in the latest version. Update your gem file then "bundle install" and continue with the tutorial. So your gem file will now have gem 'will_paginate' instead of 'will_paginate', '3.0.pre2'

Upvotes: 1

house9
house9

Reputation: 20614

Have you tried using version 3.0.2 of will_paginate - add this to your gemfile

gem "will_paginate", "~> 3.0.2"

Upvotes: 0

Azolo
Azolo

Reputation: 4383

Check out Kaminari. Plus also check out Ryan Bate's Railscast on it too.

Upvotes: 4

Related Questions