Displaying 3 results from an estimated 3 matches for "support_mail".
2006 Mar 22
9
render partial from withit mail template
Hi,
I''m trying to include a partial in an email template but it throws me this:
undefined method `controller_path'' for SupportMailer:Class
Extracted source (around line #12):
11:
12: <%= render :partial => ''footer'' %>
I guess email views are a little different from normal ones as they
don''t seem to have a access to a proper controller (?)
2008 Dec 17
3
Access from common class
...ation_email
But in this case the Mailer doesn''t see other models and gives an
error:
NoMethodError (You have a nil object when you didn''t expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]=):
/app/models/support_mailer.rb:14:in `send_activation_email''
How can I access mailers?
2. Functions from application.rb
I have added a function (send_sms) to the ApplicationController, but
how can I access it from common class in /lib folder?
I have tried:
send_sms
ApplicationController::send_sms
But in both case...
2006 Jan 30
3
Samba and add printer drivers from xp
Sorry, i send again this message because i m not sure it was realy sent the
first time
Hi
i use samba server with winxp box on our lan from 3 years and before i can
"upload" the xp drivers from a xp machine to samba server without any
problem's but recently after un hard disk crash, i upgrade my mandriva
server to the last release mdv (2006.0) and now i wasn t able to upload