will_paginate_mongoid icon indicating copy to clipboard operation
will_paginate_mongoid copied to clipboard

Rails 4 compatibility

Open jeremylynch opened this issue 11 years ago • 6 comments

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"

jeremylynch avatar Dec 10 '13 14:12 jeremylynch

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

lucasas avatar Dec 12 '13 10:12 lucasas

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?

lucasas avatar Dec 14 '13 02:12 lucasas

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

jeremylynch avatar Dec 14 '13 14:12 jeremylynch

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 avatar Feb 15 '14 06:02 hayksaakian

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

hayksaakian avatar Feb 19 '14 21:02 hayksaakian

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

lucasas avatar Feb 21 '14 15:02 lucasas