Module: Joinable

Defined in:
lib/joinable/acts_as_member.rb,
lib/joinable/acts_as_joinable.rb,
lib/joinable/acts_as_permissable.rb,
lib/joinable/acts_as_joinable_component.rb,
lib/joinable/permissions_attribute_wrapper.rb

Overview

Included in models which have a permissions field (Membership, MembershipInvitation, DefaultPermissionSet) Wraps the permissions field to make it appear to the outside world as an array of symbols rather than the string that it is stored in the database as. Also adds helpers for creating complex forms to configure permissions and validations to ensure consistent ordering of permissions in the database.

Defined Under Namespace

Modules: ActsAsJoinable, ActsAsJoinableComponent, ActsAsMember, ActsAsPermissable, PermissionsAttributeWrapper