Displaying 3 results from an estimated 3 matches for "deliver_signup_thanks".
2006 Jan 17
2
actionmailer
I''m getting an error when I''m tyring to use the actionmailer.
undefined method `deliver_signup_thanks'' for Notifier:Class
This is what I have in the controller.
def emailTest
Notifier::deliver_signup_thanks()
render_text "email test"
end
This is what I have in notifier model (notifier.rb)
class Notifier < ActiveRecord::Base
def signup_thanks()
# Email head...
2005 Dec 21
0
help with sending email form
...orm" %><br /><br />
<input type="submit" value="Resend »" />
<%= end_form_tag %>
***********************************************************
class IndexController < ApplicationController
def index
@p = params[:index]
Notifier::deliver_signup_thanks(@p)
end
end
***********************************************************
class Notifier < ActionMailer::Base
def signup_thanks(p)
# Email header info MUST be added here
@recipients = "frocco-J3C02bkCjkfYtjvyW6yDsg@public.gmane.org"
@from = "accounts-NNbln4oHrFpl57MIdRCFDg@p...
2008 Aug 31
6
why's my course_duration being reset
...with further information.''
# redirect_to :action => ''list'' rmoved rf, we need to go somewhere
else after a new enq.
redirect_to :action => ''blank'', :id => @enquiry
# redirect_to :action => "blank"
Notifier.deliver_signup_thanks(@enquiry)
else
render :action => ''new''
end
end
def edit
@enquiry = Enquiry.find(params[:id])
@courses = Course.find(:all)
@accomodations = Accomodation.find(:all)
end
def update
@enquiry = Enquiry.find(params[:id])
if @enquiry.upd...