I want to build a user inbox system and choosing this simple-private-messages gem as the backbone. However, the documentation of this gem is rather primitive. I've generated the scaffold of this gem, however, I don't know what key the gem is used to define the recipient/sender.
I want the current_user is able to message a particular user via the link of its profile page and then it will automatically fill the username into the "to" field.
Would anyone please construct a demo app illustrating the implementation of this gem, thanks a lot.
Please advise.