Displaying 20 results from an estimated 1000 matches similar to: "actionmailer cant find template in backgroundrb"
2006 Aug 07
9
problems with ActionMailer
Hi all,
I''m trying to create a worker to send a mail to all the users in my
db. Right now I''m doing the tests, this is the code in my worker
(Masivo is the ActionMailer subclass):
  def do_work(args)
    @progress = 0
    @logger.info("MAILER: starting job")
    records = Record.find(:all)
    total = records.size
    records.each_with_index do |record, idx|
     
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that
refuses to send emails using ActionMailer.
Looking at the log, it become obvious what''s happening, the system is
looking for templates with underscores at the end. Notice the
exception_notification_ .
For example:
ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact  
form on a website.  I am using a table-less model to validate the form  
contents, then trying to use the Action Mailer chapter of the "Agile Web  Development 
with Rails" book as a pattern to develop the send e-mail  portion.  I am 
having trouble getting it working and was hoping someone  could point me in the 
2007 May 15
4
Need help with singleton worker
We have a fairly expensive task that we''d rather not schedule too many
instances of in parallel.
Couldn''t get pool_size to limit the amount of workers, and I figure
that''s hardly optimal anyway, so would like to have the work queued up
for a single named worker instead, running as soon as possible.
Using MiddleMan.schedule_worker() with :job_key does start off a
2006 Aug 01
2
making backgroundrb cron
Hello,
i need to have some jobs scheduled in the background and executed at
specific times. I wanted to make a worker who does that - and it works a
little bit - but i had an enlightment... why not make bgdrb itself play that
role? i mean, the MiddleMan has already everything needed! a timer thread,
currently used only for deleting old workers and the workers itself. since
im not familiar with
2006 Aug 24
3
A new QueueWorker class
Hello all,
I''ve come up w/ a worker class that manages queued jobs using a fixed
number of child workers. Well, that''s not quite true -- a new worker is
spawned for each job, but you set the total number that may exist at once.
There are three components:
1) queue_worker.rb: The singleton worker that manages the child workers.
You probably want to auto start this. Make sure you
2006 Aug 07
2
uninitialized constants in worker class
I am new to this list and relatively new to the backgroundrb plugin,. So
first i will say hello to everybody here, especially to Ezra
Zygmuntowicz!
I played a little bit with a dummy worker and so far everything worked
well.
But now i want to do real work in a worker but now i get that error[1].
It looks like that the constants configured in environment* configs are
not available to the worker
2006 Sep 05
2
question about passing array of AR objects to worker
got a wierd problem maybe someone can help with.
whenever i try to pass an array or AR objects to my worker, i end up
with a DRb object in the worker...here''s an example
class SearchWorker < BackgrounDRb::Rails
  attr_reader :resources
  def do_work(resources)
    logger.info resources.inspect
  end
end
class SearchController < ApplicationController
  def start_search
   
2006 Aug 07
2
Call for examples
He folks-
	First off thanks to everyone for helping to make this plugin work  
better for all of us. Its nice to have a bunch of people testing and  
adding features. I would like to ask for people to post some examples  
workers. I would really like to get a few more workers to distribute  
with the plugin. Especially ones that a lot of people seem to need  
like Email workers. So if you are
2006 Jul 13
4
Update
Folks-
	I just commited another revision of the plugin. Nothing huge in this  
update but some extra features. Acl lists are now configurable in the  
config file. So you will want to blow away and recreate your config  
file again. Thanks to Georg Friedrich for this.
	And I applied Gunter Ladwig''s patch for singleton worker classes.  
These are workers that only have one instance of
2006 Jul 18
7
backgroundrb and autotest
Hi,
First, thanks for the plugin. Sorry if this is not strictly a
backgroundrb issue but I thought others on this list might have come
across this problem.
I''m trying to run the test that comes via the worker generator.  The
test works fine when running ''rake test_functional'', but when the
tests are run by autotest I get "uninitialized constant BackgrounDRb"
2006 Aug 08
8
executing external code
I''m trying to run some non-ruby code in my rails app and i''m not sure
how to do this.  The code i have would take a really long time to port
to ruby and so i''d rather run it as is (its php).  What i would like
to have happen is that the code can be invoked as an ajax call. And
just return some data in JSON.
I keep running into a routing failure by actioncontroller and
2005 Dec 24
10
can''t find view from Mailer?
Hi everyone,
Like so many other here, I too am new to Rails (and Ruby), and so far 
it''s been a great experience. I haven''t been able to get around one 
problem though. When trying to use the mailer, I recieve an error like 
this:
ActionView::ActionViewError in Tell_friend#send_email
No rhtml, rxml, or delegate template found for send_to_friend
The scenario is this:
A form on
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys,
In the readme for Backgroundrb it says that windows support has been 
depcreated for this version, but then it goes on to mention how to use 
it in Windows.  So I''m not sure if it should be running on windows or 
not, so I''ll ask anyway.  Also, I''m new to ruby and I''m also new to 
server administration, so I apologize if my questions are pretty
2008 Jan 22
9
Cannot connect when spawning new workers on demand
Hi!
I''m using the latest&greatest backgroundrb with rails 2.0.2 on ubuntu
dapper.
I''ve made an app that lets you run a query on several servers at once,
which are selected at runtime. Therefore, for each server that is
selected, I spawn a new worker and assign its work.
After everything is completed, the workers are deleted.
I often get this error:
2006 Aug 23
5
Singleton-like Worker
Hello there,
I need a Worker Class to be Singleton-like, that means there must be at
maximum one Instance at a time. When a new Request is made to create another
worker of this type, it should return and wait for the other instance to be
destroyed.
what i need to do: i have a worker who needs to do sth with java and
openoffice, and it seems when i have more tha one worker simultaneously,
2010 Aug 05
5
asset_host and ActionMailer
After digging through the rails code to figure out why my asset_host
wasn''t getting applied to emails, I realized that it''s because the
config object in the context of a mailer is config.action_mailer and
not config.action_controller. This means you need to set asset host
separately for emails, as config.action_mailer.asset_host.
Should this be considered a bug? Is it really
2006 Aug 16
6
Photo Albums?
Hello all,
Can anyone recommend any free(ish) Ruby photo album components? 
Preferably something with a user structure built in.
Cheers.
-- 
Posted via http://www.ruby-forum.com/.
2013 Nov 13
2
Cannot receive from specified address Unauthenticated senders not allowed
On trying to run a rake task via crontab, I''m getting the following error:
    rake aborted!
    550 Cannot receive from specified address <help-+zpghU0kKgY@public.gmane.org>: 
Unauthenticated senders not allowed
    /mnt/voylla-production/shared/bundle/ruby/1.9.1/gems/mail-2.3.3/lib/mail/network/delivery_methods/smtp.rb:129:in 
`block in deliver!''
    
2006 Aug 07
8
Syntax Problem
In an *.rhtml, why do I need to add <% for product in @products %> in
order that I may call an <img class="list-image" src="<%=
product.img_url %>"/>. Is there not another way to skip the "for
product" line? I really dont want to include it. I tried @products =
product but it does not work. Can anyone help shed light on this matter?
-- 
Posted via