Sha256: 6232d1c61f0f2ec190579fec970de0c62e2f922797713cf647e02c62faf90c64

Contents?: true

Size: 825 Bytes

Versions: 9

Compression:

Stored size: 825 Bytes

Contents

= MuckShares

Add sharing functionality to your muck application.

== Setup
Install the gem:
  sudo gem install muck-shares
This should also install other required muck gems.  Items are shared into the user's activity feed as well as the 
dashboard activity feed of any users that following or friends with the current user.

== Usage

=== Share model
Create a model called share in your project and add the following:
  
  class Share < ActiveRecord::Base
    acts_as_muck_share
  end
This let's you add any other methods to the share model that you see fit.

=== User model
You will need a user model that will do the sharing:
  class User < ActiveRecord::Base
    acts_as_muck_sharer
  end

MuckShares will look for 'current_user' when adding new shares.


Copyright (c) 2009 Muck your app, released under the MIT license

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
muck-shares-0.1.8 README.rdoc
muck-shares-0.1.7 README.rdoc
muck-shares-0.1.6 README.rdoc
muck-shares-0.1.5 README.rdoc
muck-shares-0.1.4 README.rdoc
muck-shares-0.1.1 README.rdoc
muck-shares-0.1.2 README.rdoc
muck-shares-0.1.3 README.rdoc
muck-shares-0.1.0 README.rdoc