ar_mailer impossible to install?

Hi there I've been trying to install ar_mailer but I get a bunch of errors I followed the doc from : (rails 1.1.5 and rmailer 1.1.0) http://blog.segment7.net/articles/2006/08/15/ar_mailer and http://dev.robotcoop.com/Tools/ar_mailer/

and here is what I'm doing and the errors I got: rails foo

ls datos.rb email.rb jorge@walrus:~/proyectos/mailtest/app/models$ cat * class Datos < ActiveRecord::Base end

#note here I have tried Email and Emailer both trow errors class Email < ActionMailer::ARMailer end jorge@walrus:~/proyectos/mailtest/app/models$

migrations##############33 ls 001_create_datos.rb 002_emails.rb jorge@walrus:~/proyectos/mailtest/db/migrate$ cat * class CreateDatos < ActiveRecord::Migration   def self.up     create_table :datos do |t|        t.column :name, :string     end   end

  def self.down     drop_table :datos   end end class AddEmail < ActiveRecord::Migration   def self.up     create_table :emails do |t|       t.column :from, :string       t.column :to, :string       t.column :last_send_attempt, :integer, :default => 0       t.column :mail, :text     end   end

  def self.down     drop_table :email   end end jorge@walrus:~/proyectos/mailtest/db/migrate

ERRORS rake migrate (in /home/jorge/proyectos/mailtest) rake aborted! uninitialized constant Emails

(See full trace by running task with --trace) jorge@walrus:~/proyectos/mailtest/db$

ar_sendmail /usr/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/base.rb:293:in `method_missing': undefined method `find' for Email:Class (NoMethodError)         from /usr/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/lib/action_mailer/ar_sendmail.rb:384:in `find_emails'         from /usr/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/lib/action_mailer/ar_sendmail.rb:416:in `run'         from /usr/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/lib/action_mailer/ar_sendmail.rb:413:in `run'         from /usr/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/lib/action_mailer/ar_sendmail.rb:297:in `run'         from /usr/lib/ruby/gems/1.8/gems/ar_mailer-1.1.0/bin/ar_sendmail:5         from /usr/bin/ar_sendmail:18 jorge@walrus:~/proyectos/mailtest$

I dont know what I'm doing wrong is a fresh project any help would be apreciate it Thanks in advance.

Hi there I've fixed that typo and I still get the same error :frowning: