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

Attachment: signature.asc
Description: Digital signature

Reply via email to