mongomapper_plugins 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ module MongoMapper
5
5
  def auto_increment_id
6
6
  key :_id, Integer
7
7
 
8
- after_create :generate_document_id
8
+ before_create :generate_document_id
9
9
  end
10
10
  end
11
11
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mongomapper_plugins
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrew Timberlake