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 (
commit 3353510f91c5e30129bb0861ec420505a0fcb61b
tree 3ab019ef1a7a051d52fe030eaf7f1f30d56a04d8
parent 8fbb3a264b9cea6980f978a021ce9e1f1dadc2cd
tree 3ab019ef1a7a051d52fe030eaf7f1f30d56a04d8
parent 8fbb3a264b9cea6980f978a021ce9e1f1dadc2cd
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Mar 08 15:07:12 -0800 2008 | [bricooke] |
| |
LICENSE | Sat Mar 15 18:49:22 -0700 2008 | [bricooke] |
| |
README | Sat Mar 08 15:07:12 -0800 2008 | [bricooke] |
| |
Rakefile | Sat Mar 15 18:49:22 -0700 2008 | [bricooke] |
| |
TODO | Sat Mar 08 15:07:12 -0800 2008 | [bricooke] |
| |
bin/ | Sat Mar 15 18:49:22 -0700 2008 | [bricooke] |
| |
lib/ | Sat Mar 15 18:49:22 -0700 2008 | [bricooke] |
| |
spec/ | Sat Mar 08 15:07:12 -0800 2008 | [bricooke] |
README
sequel_mailer ============= My attempt at a clone of ar_mailer (http://seattlerb.rubyforge.org/ar_mailer/) for Merb 0.9.1+ and the Sequel ORM. Status ============= The plugin can be used in your merb app, but there's nothing to send the mail yet. Using ============= + Create the migration for your model (Assumes model will be named Email): class EmailMigration < Sequel::Migration def up create_table "emails" do primary_key :id varchar :from_address varchar :to_address varchar :last_send_attempt, :default => 0 text :mail datetime :created_on end end def down execute "DROP TABLE emails" end end + Set the delivery_method and class to be used: Merb::Mailer.delivery_method = :sequel Merb::Mailer.config = {:sequel_mailer_class => Email} + Enjoy TODO ============= + Write specs for the mailer + Write the sequel_sendmail daemon + Write a generator for the migration and setting the config




