public
Description: Not Another Rails Newsletter
Homepage: http://blog.aenima.pl/2008/12/4/narn-a-rails-newsletter-that-doesn-t-suck
Clone URL: git://github.com/aenima/narn.git
narn /
name age message
file MIT-LICENSE Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
file README Thu Dec 04 02:33:06 -0800 2008 corrections of README [tomash]
file Rakefile Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
directory app/ Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
directory db/ Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
file init.rb Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
file install.rb Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
directory lib/ Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
directory script/ Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
directory tasks/ Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
directory test/ Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
file uninstall.rb Fri Aug 29 07:55:36 -0700 2008 Dodanie calego pluginu. [aenima]
README
NARN - Not Another Rails Newsletter

== Introduction

NARN is a complete and useful newsletter for your Rails application. User can add his address to a newsletter (with 
account activation) or unregister. You can create and send newsletters to all singned up users. Seems to be everything 
you can expect from a newsletter engine.

== Installation

To install plugin run in your application directory:

  ruby script/plugin install git://github.com/aenima/narn.git

NARN requires Engines. If you haven't got them already installed in your application, they will be installed 
automatically.

You'll need to add a single line to the top of config/environment.rb just below the require for Rails' own boot.rb file:


  require File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')

At the end of config/environment.rb add:

  gem 'mislav-will_paginate', '~> 2.2'
  require 'will_paginate'
    
To generate plugin migrations you should also run:

  ruby script/generate plugin_migration

== Usage
  
After installing the plugin and running migrations you're ready to go with NARN. Just like ActionMailer: it should work 
with sendmail out of the box, other solutions need a bit of configuration.
  
Copyright (c) 2008 Aenima, released under the MIT license

While producing plugin fragments of code by David Welton were used.