Track changes ActiveRecord models and stores in MongoDB