Skip to content

Commit

Permalink
apparently there's a problem defining indexes in the gem
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasc committed Feb 20, 2011
1 parent 90d9c41 commit 0beebc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/mongo_mapper/plugins/models/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class Version


# ---------------------------------------------------------------------
ensure_index [[:version_number, 1], [:versioned_id, 1]]
# FIXME: this needs to be handled externally
# ensure_index [[:version_number, 1], [:versioned_id, 1]]



Expand Down
2 changes: 1 addition & 1 deletion lib/mongo_mapper/plugins/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
module MongoMapper
module Plugins
module Versioned
Version = '0.2.5'
Version = '0.2.6'
end
end
end

0 comments on commit 0beebc1

Please sign in to comment.