Publishing logic for Rails/MongoMapper models.