goncalossilva / mongoid-sequence

Specify fields to behave like a sequence number (exactly like the "id" column in conventional SQL flavors) while using Mongoid.
MIT License
18 stars 36 forks source link

undefined method `sequence' for A:Class #8

Closed Manju244 closed 6 years ago

Manju244 commented 11 years ago

Hi,

I am working with Rails4 Ruby2 and Latest version on Mongoid. But its giving the error as,

undefined method `sequence' for A:Class

And while bundle install,

Bundler could not find compatible versions for gem "mongoid": In Gemfile: mongoid-sequence (>= 0) ruby depends on mongoid (~> 2.0) ruby

mongoid (4.0.0)

May be its version problem. Please help me in this regard.