Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Further reorganization that I missed earlier

  • Loading branch information...
commit dfcf18731eb632625c926bf6108c8158d1867f65 1 parent 070bd79
@alindeman alindeman authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/mongo_mapper/plugins/optimistic_locking.rb
View
6 lib/mongo_mapper/plugins/optimistic_locking.rb
@@ -1,14 +1,12 @@
require 'active_support/concern'
+require File.expand_path("optimistic_locking/querying_interceptor", File.dirname(__FILE__))
+
module MongoMapper
module Plugins
module OptimisticLocking
- autoload :QueryingInterceptor, "mongo_mapper/plugins/optimistic_locking/querying_interceptor"
-
extend ActiveSupport::Concern
- VERSION = "0.0.2"
-
included do |base|
base.key :_lock_version, Integer, :default => 0
end
Please sign in to comment.
Something went wrong with that request. Please try again.