This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
narn /
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Fri Aug 29 07:55:36 -0700 2008 | |
| |
README | Thu Dec 04 02:33:06 -0800 2008 | |
| |
Rakefile | Fri Aug 29 07:55:36 -0700 2008 | |
| |
app/ | Fri Aug 29 07:55:36 -0700 2008 | |
| |
db/ | Fri Aug 29 07:55:36 -0700 2008 | |
| |
init.rb | Fri Aug 29 07:55:36 -0700 2008 | |
| |
install.rb | Fri Aug 29 07:55:36 -0700 2008 | |
| |
lib/ | Fri Aug 29 07:55:36 -0700 2008 | |
| |
script/ | Fri Aug 29 07:55:36 -0700 2008 | |
| |
tasks/ | Fri Aug 29 07:55:36 -0700 2008 | |
| |
test/ | Fri Aug 29 07:55:36 -0700 2008 | |
| |
uninstall.rb | Fri Aug 29 07:55:36 -0700 2008 |
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.







