replace ActiveRecord with Active Record