a9931cd410
Converts Rails 3 style ActiveRecord calls in RPC_Db to their Rails 4 counterparts. Fixes #4725, also see MSP-12017