public
Description: A resourceful plugin for adding forums to an application
Homepage:
Clone URL: git://github.com/bscofield/bagpipes.git
name age message
file MIT-LICENSE Wed Sep 03 05:10:25 -0700 2008 initial commit [bscofield]
file README Wed Sep 10 06:22:02 -0700 2008 update README for new installation process [bscofield]
directory generators/ Thu Sep 11 03:35:17 -0700 2008 remove unneeded topics#show action and tests [bscofield]
file install.rb Wed Sep 03 05:10:25 -0700 2008 initial commit [bscofield]
directory lib/ Thu Sep 11 03:35:17 -0700 2008 remove unneeded topics#show action and tests [bscofield]
directory tasks/ Wed Sep 03 05:10:25 -0700 2008 initial commit [bscofield]
README
Bagpipes
========

Bagpipes is a resourceful plugin, meaning that it provides a bundled set of resources (ala REST) for a Rails 
application. In particular, installing Bagpipes gives you access to the resources required for basic forum 
functions—topics, messages, and members.

At present, member management is ... minimal. You'll have to add the first administrator from the console, like this:
  
  > u = User.find(1)
  > u.create_member :name => "Name", :administrator => true
  
After that, you can log in and go to /members to add more.
  
Only administrators can create topics, and only members can create messages. Anyone can view the forum, however.

Like any resourceful plugin, this should be easily customizable for your specific needs.

Example
=======

  rake bagpipes:install

The installer will prompt you for the name of your user model.

Integration
===========
You'll need some sort of authentication scheme that provides the following hooks in the controller:
  logged_in?
  current_user

The easiest way to take care of this is to install the restful authentication plugin.

Finally, you'll need to update the user_email= method in the Member model so that it returns a valid 
user/account/whatever model when given an email address.

Copyright (c) 2008 Ben Scofield of Viget Labs, released under the MIT license