Invitation tracking


Here is my use case...

A user of the site can invite friends to join the site and when a
friend joins, the invitee is awarded. What could be the best way in
Rails to track if a user is signing up as a result of someone's
invitation? Is there a plugin for such purposes?



Simple way is by maintaining a table with a boolean, if accepted or not. I dont know if a plugin exists for this purpose.

Best Wishes,
Saideep Annadatha