Changeset 3745
- Timestamp:
- 03/02/06 14:36:06 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/lib/active_record/base.rb
r3728 r3745 311 311 # Defaults to false. Set to true if you're writing a threaded application. 312 312 cattr_accessor :allow_concurrency 313 @@allow_concurrency = false313 @@allow_concurrency = true 314 314 315 315 # Determines whether to speed up access by generating optimized reader trunk/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb
r3732 r3745 56 56 else 57 57 # retrieve_connection sets the cache key. 58 active_connections[@active_connection_name] = retrieve_connection 58 conn = retrieve_connection 59 active_connections[@active_connection_name] = conn 59 60 end 60 61 end