Skip to content

Commit

Permalink
Getting rid of the old reconnect time option
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Mar 8, 2011
1 parent 888b9ae commit c800525
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion lib/mongoid/config.rb
Expand Up @@ -43,7 +43,6 @@ def option(name, options = {})
option :persist_in_safe_mode, :default => false
option :preload_models, :default => true
option :raise_not_found_error, :default => true
option :reconnect_time, :default => 3
option :skip_version_check, :default => false
option :time_zone, :default => nil
option :max_retries_on_connection_failure, :default => 0
Expand Down
2 changes: 1 addition & 1 deletion lib/mongoid/railtie.rb
Expand Up @@ -35,7 +35,7 @@ def self.generator
# module MyApplication
# class Application < Rails::Application
# config.mongoid.logger = Logger.new($stdout, :warn)
# config.mongoid.reconnect_time = 10
# config.mongoid.persist_in_safe_mode = true
# end
# end
config.mongoid = ::Mongoid::Config
Expand Down

0 comments on commit c800525

Please sign in to comment.