Module: HasModerated

Defined in:
lib/has_moderated/active_record/active_record_helpers.rb,
lib/has_moderated/common.rb,
lib/has_moderated/railtie.rb,
lib/has_moderated/version.rb,
lib/has_moderated/user_hooks.rb,
lib/has_moderated/carrier_wave.rb,
lib/has_moderated/moderated_create.rb,
lib/has_moderated/moderation_model.rb,
lib/has_moderated/associations/base.rb,
lib/has_moderated/moderated_destroy.rb,
lib/has_moderated/moderation_preview.rb,
lib/has_moderated/associations/has_one.rb,
lib/has_moderated/moderated_attributes.rb,
lib/has_moderated/associations/collection.rb,
lib/generators/has_moderated/install/install_generator.rb

Overview

everything that does with activerecord should be here. use a wrapper that calls stuff from here, so that impl. can be switched eg with mongomapper also write test that if one attr is moderated and one is not, the unmoderated one must still save immediately!

Defined Under Namespace

Modules: ActiveRecordHelpers, Associations, CarrierWave, Common, Generators, ModeratedAttributes, ModeratedCreate, ModeratedDestroy, ModerationModel, Preview, UserHooks Classes: Railtie

Constant Summary collapse

VERSION =
"1.2.3"