lib/adhearsion/initializer/database.rb in adhearsion-0.8.1 vs lib/adhearsion/initializer/database.rb in adhearsion-0.8.2
- old
+ new
@@ -9,10 +9,11 @@
def start
require_dependencies
require_models
@@config = Adhearsion::AHN_CONFIG.database
- ActiveRecord::Base.allow_concurrency = true
+ # You may need to uncomment the following line for older versions of ActiveRecord
+ # ActiveRecord::Base.allow_concurrency = true
establish_connection
create_call_hook_for_connection_cleanup
end
def stop
\ No newline at end of file