HomePhorge

(#4763) Don't call a method that was removed in Rails 3 activerecord
6468f4ede9d9Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#4763) Don't call a method that was removed in Rails 3 activerecord

Calling this method caused storeconfigs not to run.

ActiveRecord::Base.allow_concurrency was deprecated in Rails 2.2. We
support activerecord 2.1 and higher, so we still need to call this
method for 2.1. I factored out the code that determines our
activerecord version to a method in util so that the code was easier to
read and test.

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
Markus Roberts <Markus@reality.com>Committed on Sep 23 2010, 6:37 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU79d5fde2246c: Fixed #4763 - Hardcoded ActiveRecord version
Branches
Unknown
Tags
Unknown

Event Timeline

Markus Roberts <Markus@reality.com> committed rPU6468f4ede9d9: (#4763) Don't call a method that was removed in Rails 3 activerecord (authored by Matt Robinson <matt@puppetlabs.com>).Sep 23 2010, 6:37 AM