Agile Web Development

Build it. Launch it. Love it.

acts_as_messageable

private messaging plugin for rails. see here.

installation:

script/plugin install http://actsasmessageable.googlecode.com/svn/tags/acts_as_messageable-1.0.1
script/generate messageable
rake db:migrate

 

usage:

add 'acts_as_messageable' to your user model

license:

MIT License

author:

phil sergi

Vitals

Home http://code.google.com/p/actsasmessageable/
Repository http://actsasmessageable.googlecode.com/svn/tags/acts_as_messageable-1.0.1
License Rails' (MIT)
Tags Tag_red messaging stalled
Rating (8 votes)
Owner Phil Sergi
Created 5 October 2007

Comments

  • Peter K
    10 November 2007

    Super cool. Still, I don't quite understand the difference between Mail and Message objects and how I can get Messages directly out of the Mail object without doing one of these:

    user.mailbox[:inbox].mail.each do |mail|
      @messages << Message.find(mail.message_id)
     end
    

    Anybody tried this yet?

    thanks, Peter

  • Avatar
    Nirvana
    28 July 2008

    Great job man but I got problem in pagination. Will you let me know how to do it in it.

Add a comment