Sha256: 1e53c7ae8d7b73ab02849e4fb5b34f9cc3d14d7a4ef90dec4b82ad83d2389eb0
Contents?: true
Size: 937 Bytes
Versions: 3
Compression:
Stored size: 937 Bytes
Contents
= Muck Invites Make it easy to let users invite other users. == Setup === Inviter model Add 'acts_as_muck_inviter' to the class that you wish to have do the inviting. This is commonly the user model, but might also be another model - for example Event. class User < ActiveRecord::Base acts_as_authentic do |c| c.crypto_provider = Authlogic::CryptoProviders::BCrypt end acts_as_muck_user acts_as_muck_inviter end or class Event < ActiveRecord::Base acts_as_muck_inviter end === Other models These models are required for the invite system to function and must be named as specified. Addition functionality can be added to each model as needed. Create an Invitee model: class Invitee < ActiveRecord::Base acts_as_muck_invitee end Create an Invite model: class Invite < ActiveRecord::Base acts_as_muck_invite end Copyright (c) 2009 Tatemae.com, released under the MIT license
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
muck-invites-0.1.6 | README.rdoc |
muck-invites-0.1.5 | README.rdoc |
muck-invites-0.1.4 | README.rdoc |