I have a Rails app with a MongoDB datastore. As a result, the models don't inherit from ActiveRecord::Base. When I try to add logging to the model, like so
logger.info "Debug application" rails complains that logger doesn't exist, which makes sense. How do I add the logger functionality back, short of inheriting from ActiveRecord::Base?