Restful Easy Messages plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://restfulezm.rubyforge.org/svn/tags/0.7/restful_easy_messages/
Add these names routes to your project's config/routes.rb
map.resources :users do |user| user.resources :messages, :collection => {:destroy_selected => :post, :inbox => :get, :outbox => :get, :trashbin => :get}, :member => {:reply => :get} end
Generate your views
script/generate messages erb
If you prefer to use Haml replace 'erb' above with 'haml'
Run the migration
rake db:migrate
Add the following to your user model
class User < ActiveRecord::Base restful_easy_messages
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (2 older versions) | Last edited by: scott, about 1 year ago

