Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: cmer/socialization
base: v0.3.0
head fork: cmer/socialization
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Feb 23, 2012
Masahiro Ihara Added followees method to follower 964c410
Commits on Feb 25, 2012
Masahiro Ihara Added likees method to liker c54161c
Masahiro Ihara Added mentionees method to mentionner 3af0023
@cmer Merge pull request #4 from ihara2525/followees
Added followees, likees, mentionees methods
@cmer Renamed mentionner to mentioner. duh. d303bde
@cmer prep for v0.4.0 6d996d6
Commits on Feb 26, 2012
@cmer ignore yard documentation e7061a3
@cmer Added YARD documentation 26e0ee5
@cmer Renamed Socialization::Hello to Socialization::ActsAsHelpers which se…
…ems like a slightly better name.
Commits on Feb 28, 2012
@balvig balvig Allow toggling follows/likes/mentions on and off.
Useful for Twitter like toggle buttons where you
can click it to toggle following on and off.
@balvig balvig Added support for STI. 0f6fcfd
Commits on Mar 01, 2012
@cmer Fixed toggle code and tests be75e17
@cmer Merge commit '0f6fcfdf6c612fb7b5b7dd93d7a391f4d67fb06f' into sti ffff284
@cmer migration cleanup 4fccc87
@cmer Use assert_true and assert_false assertions everywhere 8c13303
@cmer updated readme 75e40c3
@cmer Converted README to markdown dd7c00c
@cmer Added forgotten test 892b9df
@cmer Allow specifying touch_{actor} and touch_{target} as option for acts_…

This option adds the "touch" argument to the belongs_to statement on the model.
@cmer Added tests for inherited models 6deb673
@cmer I forgot that some people still use Ruby 1.8.x e85cd1b
Commits on Mar 05, 2012
@cmer updated readme 00c82ed
@cmer removed rdoc stuff 205af83
Commits on Apr 17, 2012
@listrophy listrophy Use block form of create to work across AR versions.
- The :without_protection flag only works on newer ActiveRecord versions.
- Fixes #1 (for more versions of ActiveRecord)
@cmer Merge pull request #8 from listrophy/master
Use block form of create to work across AR versions.
Commits on Jun 01, 2012
@cmer ignore rbenv-version 7db65f5
@cmer Merge branch 'master' of
@cmer Made migrations quiet 6d96bfc
Commits on Jun 05, 2012
@cmer Made demo app 1.8.7 compliant 7e81a4d
@cmer Refactored to support multiple data stores ca47151
@cmer Updated demo app to be compatible with the datastore refactor c16d85c
@cmer Moved demo app 8747700
@cmer Removed empty module 022dc7a
@cmer Removed useless class 280f940
Commits on Jun 06, 2012
@cmer Added Redis store and refactored further to make this possible 2794f65
@cmer Updated readme 8fac91a
@cmer preparing 0.5.0.beta release a128d14
@cmer mentioned Redis in changelog 8403800
@cmer Expose the *_relation methods on actors and victims 4bc59a2
@cmer Updated changelog to reflect _relation methods 268041f
@cmer oops forgot to add redis model templates 2e39a18
@cmer Fixed doc 16c3120
@cmer Renamed store classes 694228e
Commits on Jun 07, 2012
@cmer On my way to a cleaner, less repetitive codebase. 2840270
@cmer Added *ees alias methods f956ba4
Commits on Jun 08, 2012
@cmer incremented version number 76a8d7e
Commits on Jun 13, 2012
@cmer Added method aliases 512c4be
Commits on Jun 23, 2012
@cmer Refactored and DRYed up stores 8a044d8
Commits on Jul 04, 2012
@cmer force loading of lazy-loaded classes 8e768e4
@cmer Merge branch 'master' of 2bc0ce6
@cmer Let Ruby raise an error if the models are not defined.
This way, the lazy-loaded classes will be loaded automatically if they're not already loaded. Otherwise, defined? returned false when the class wasn't already loaded, even though the class file existed.
Commits on Jul 05, 2012
@cmer version bump for 0.5.0.beta3 dacae63
Commits on Jul 09, 2012
@cmer Added destroy_{victims} and destroy_{actors} for ActiveRecord store dbc2cce
Commits on Jul 10, 2012
@cmer Renamed methods bfccd82
@cmer Centralized Redis key creation 4169f0c
@cmer Major refactoring of the Redis store. Everything now goes through pro…
…xy methods instead of so much code duplication.

BREAKING CHANGE: data format in Redis changed since last commit. This will break your app!
Commits on Jul 11, 2012
@cmer Automatically remove social relationships when an actor or victim is …
@cmer type matching is now more lenient d0b315f
Commits on Aug 07, 2012
@cmer specify table name in sql 12fb9fd
@cmer incremented version b0ed9f8
Commits on Aug 15, 2012
@AlainPilon AlainPilon Update lib/socialization/stores/redis/base.rb
injected block needs to return the memo
@cmer Merge pull request #17 from AlainPilon/patch-2
Update lib/socialization/stores/redis/base.rb
Commits on Aug 20, 2012
@cmer Now raises Socialization::ArgumentError instead of ::ArgumentError 9e574e2
@cmer Merge branch 'master' of bed2653
Commits on May 30, 2013
@cmer Fuck it, let's release this motherfucker. It's been in perpetual Gmai…
…l-like beta. 1.0.0 FTW.
Commits on May 31, 2013
@cmer drop support for 1.8.x fafd54e
Commits on Jul 26, 2013
@thomas88 thomas88 Fix deprecated Relation#all in Rails 4, use Relation#to_a instead
DEPRECATION WARNING: Relation#all is deprecated. If you want to eager-load a relation, you can call #load (e.g. `Post.where(published: true).load`). If you want to get an array of records from a relation, you can call #to_a (e.g. `Post.where(published: true).to_a`). (called from followers at .../socialization/lib/socialization/stores/active_record/follow.rb:69)
Commits on Aug 07, 2013
@thomas88 thomas88 Drop support for 1.9.2 386c6af
@cmer Merge pull request #26 from thomas88/fix-relation-all-deprecation
Relation#all is deprecated in Rails 4, use Relation#to_a instead
Commits on Dec 09, 2013
@garyharan garyharan added followees documentation in readme 1c39577
Commits on Jan 08, 2014
@cmer Merge pull request #30 from garyharan/master
added followees documentation in readme
@cmer slight change in readme 62772b6
@cmer test under ruby 2.1.0 93c6e48
@cmer getting ready for 1.1.0 release 7639e23
@cmer giving credit where credit is due 3e904fc