Amistad – Facebook like friendship management in Ruby on Rails

Today I’ve decided to write something about the Ruby Gems that I used. So I’ve started this series (Ruby Gems). This is the first post of the series. I will try to write regularly.

When I was working on my pet project MovieMates, I needed to implement a friend relationship. Initially, I was going to do it myself. However, later I thought I should, at least, google a bit to check if there is already some similar solutions. Then I found Amistad.

The current version of Amistad supports ActiveRecord 3.0.x, Mongoid 3.0.x and MongoMapper 0.12.0.

Installations

Add following line to your Gemfile

gem 'amistad'

Continue reading →

PunBB Twitter – Twitter Updater for PunBB Forum

This morning I got this idea to make an extension for PunBB forum engine that will update twitter status upon new posts and other activities. Few hours back I have completed it.  It may need many many improvements. But yep, its ready for testing.

Current Version: 0.8

Current features:

  1. Configurable account
  2. Update on creation of new topic
  3. Update on reply on topic
  4. Update on new registration (future)
  5. Control update types (v0.5)
  6. URL shortening using to.ly (v.06)
  7. Skip forums. Updates not posted in twitter when posted on those forums.

Do you have any other update idea? please share me. I will add that too.

Click here to see a demo!

Download here. Feedback is appreciated.

Special thanks to Lee Findlow. I have used his class for updating posting message in twitter.