[Pkg-puppet-devel] Bug#774643: verify_active_connections is not present in ruby-activerecord 4.1.8

Apollon Oikonomopoulos apoikos at debian.org
Sat Feb 28 08:29:14 UTC 2015


Hi,

It should be possible to make Puppet work with ActiveRecord 4.x. I've 
managed to get it to a point where it doesn't throw exceptions, but I 
have to verify that's it's actually doing what it should do.

In short, what's been needed sofar is:

 - verify_active_connections! must be replaced with 
   clear_active_connections!

 - all calls to ActiveRecord::Base.connection must use class methods and 
   not instance methods

 - installing ruby-activerecord-deprecated-finders makes find(:all) work 
   again but throws a ton of deprecation warnings. I'd prefer 
   forward-porting all queries to the rails 4 API.

I hope I'll be able to post a full patch later today.

Cheers,
Apollon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20150228/29a8b46a/attachment.sig>


More information about the Pkg-puppet-devel mailing list