Skip to content
Cannot retrieve contributors at this time
0.5.0.beta (June 6, 2012)
v0.4.0 (February 25, 2012)
- IMPORTANT: This release includes many changes, some breaking. Make sure to test your code carefully after upgrading.
- BREAKING CHANGE: Your Like, Follow and Mention models should now inherit the Socialization store base class instead of using the acts_as helper. (e.g.: class Follow < Socialization::ActiveRecordStores::Follow). See demo app for an example.
- BREAKING CHANGE: the
followables etc methods now return an array of objects. Use methods such as
followers_relation for an ActiveRecord::Relation.
- Changed: The persistence logic has now been moved to the Socialization::ActiveRecordStores namespace. More stores can be easily added.
mention! now return a boolean. True when the action was successful, false when it wasn't (e.g.: the relationship already exists).
unmention! will now return false if there is no record to destroy rather than raising
- Changed: Records can now like, follow or mention themselves. If you want to prevent this, it should be enforced directly in your application.
- Added: Data can now be stored in Redis.
toggle_mention! methods. Thanks to @balvig.
- Added: support for single table inheritance. Thanks to @balvig.
v0.3.0 (February 22, 2012)
- BREAKING CHANGE: Renamed
mentioner. This is proper English.
mentionees methods to
Mentioner. Thanks to @ihara2525.
0.2.2 (January 15, 2012)
- BREAKING CHANGE:
followers now return a scope instead of an array. They also require to have the class of the desired scope as an argument. For example:
- Added: Mention support.
- Some refactoring and clean up. Thanks to @tilsammans
0.2.1 (January 15, 2012)
0.2.0 (January 15, 2012)
- Improved tests.
- Changed: Can no longer like or follow yourself.
0.1.0 (January 14, 2012)
- Bug fixes
- Made Ruby 1.8.7 compatible