lucasas / will_paginate_mongoid

89 stars 32 forks source link

Rails 4 compatibility #16

Open jeremylynch opened 10 years ago

jeremylynch commented 10 years ago

When I install rails 4 I am getting the error:

Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    will_paginate_mongoid (>= 0) ruby depends on
      activemodel (~> 3.2) ruby

    simple_form (= 3.0.1) ruby depends on
      activemodel (4.0.2)

Gemfile

gem "rails", '~>4.0.0'
gem 'will_paginate_mongoid', :git => "https://github.com/lucasas/will_paginate_mongoid.git"
lucasas commented 10 years ago

Hi @mrjlynch, I'm gonna investigate this on next weekend and returns to you. Thank you :+1:

lucasas commented 10 years ago

Hi @mrjlynch I saw your Github and you have created a fork. So, there you have updated Rails's version to 4.0.0. Have you tested it? If so, can you make a pull request?

jeremylynch commented 10 years ago

No I haven't checked it actually as I decided to delay upgrading to rails 4. I'm going to check it for you over the next couple of days and get back to you. Thanks

hayksaakian commented 10 years ago

any progress on this?

i'm upgrading my project to rails 4, and mongoid 3

it's not clear what versions of mongoid this gem does / does not support

hayksaakian commented 10 years ago

http://rubygems.org/gems/mongoid

is now updated to mongoid 4 with support for rails 4

would be nice if @mrjlynch would put in a pull request and @lucasas could put out a new gem version to rubygems

lucasas commented 10 years ago

Hi guys, I've contacted @mrjlynch and I'm waiting for his answer about create a pull request