ActiveRecord is the least of your problems, then... seems like you may have a fundamental problem of inexperienced or foolish devs.