similar to: Sequence of the delayed job execution

Displaying 20 results from an estimated 100000 matches similar to: "Sequence of the delayed job execution"

2011 Jan 06
1
Send email with delayed job
Hi, I want to send email with delayed job. In order to do so, I have a Notifier model with X methods sending different type of emails. In the documentation, they suggest to send email like this: class NewsletterJob < Struct.new(:text, :emails) def perform emails.each { |e| NewsletterMailer.deliver_text_to_email(text, e) } end end But in my notifier model I have X methods,
2010 Aug 09
0
Logging form delayed job class
I have asked this before without any luck, trying again. this is what I have in my dj.rb initializer Delayed::Worker.backend = :active_record Delayed::Worker.logger = Rails.logger #Delayed::Worker.logger = ActiveSupport::BufferedLogger.new("log/ ##{Rails.env}_delayed_jobs.log", Rails.logger.level) class Delayed::Job def logger Delayed::Worker.logger end end if
2011 May 17
1
uninitialized constant Delayed::Job (NameError)
hi I am implementing delayed_job in my rails app. *my code is:* file name is: my_worker.rb require "delayed_job" require "rubygems" class MyClass def perform while true do puts "I am in My class!!!" sleep 2 end end end Delayed::Job.enqueue( MyClass.new ) #m.perform when i am executing this(ruby my_worker.rb ) file it gives me error
2013 Nov 22
4
Delayed JOB ISSUE
Hi all I am using delayed jobs to send sms I am using "http://github.com/tobi/delayed_job/tree/master". In my other website my delayed job is working fine. Recently I have took one new domain in the same server which I have my other app''s which are working fine. Now the issue is after taking new domain and running the old app with new domain delayed job is not working
2010 Dec 12
1
PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xa0
Hello, my app is reading emails with attachments and inserting the Email message into the database to be sent to delayed job for processing. When inserting an email with attachments into the database, I get the following error: PGError: ERROR: invalid byte sequence for encoding "UTF8": 0xa0 Has anyone seen this before? There doesn''t seem to be much rails related via
2011 Jun 27
0
Delay Job on File upload handler
Hi, I have developed application with rails 3.0.7 on heroku that target multiple user with high volume of uploading file (size aprox 400kb). My question is, does when one user submit a file, are the instance that handle the request got bounded to that request so other request will have to wait for it to complete ? Also, does handling this kind of request are better in a delayed job to improve
2010 Aug 20
5
country state city drop down list rails
hi every one please tell me the recommended way to get country state city drop down list in rails any gem - plug-in tutorial thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe
2013 Oct 08
1
Trouble with rspec and FactoryGirl Sequence
I''m following Michael Hartl''s Ruby on Rails 3 Tutorial but I''m using Rails 3.2.8 and FactoryGirl 4.2.0 and rspec 2.14.1 I''m in chapter 10 trying to generate tests for pagination (using will_paginate 3.2.5 which works fine in dev) I can get FactoryGirl to test just fine if I don''t use Sequence but I can''t seem to figure out the correct syntax
2010 Feb 24
4
"Sequence does not exist" for joined model
Hello all, I''m in my 5th month on Ruby on Rails and still learning. I have an application that works fine in sqlite3 and then the boss says he wants it migrated to Oracle. Now, I know very little about Oracle, enough to get into trouble. When I did the migration everything went haywire. Well, I''ve refactored several problems and now I have another. I have two models with a
2013 Jan 16
0
Job for Ruby On Rails
Hi, Greetings from WinfoGlobal !! WinfoGlobal Technologies is one of the leading Staffing Service Providers based out of Bangalore, India. We have proven track record in fulfilling complex business requirements of our esteemed clients. Currently we have multiple requirement for *Ruby on Rails* profiles. *Requirement categories.* Developer Software Engineer Sr.Software Engineer Tech Lead
2010 Mar 26
5
"invalid byte sequence in US-ASCII" on i18n form
I''m getting the error "invalid byte sequence in US-ASCII" when using i18n on Rails 3.0.0beta with Ruby 1.9.1. I''ve searched extensively on Google and the problem seems to happen with 2.3.x versions as well (when using Ruby 1.9.1). I just set the default language to portuguese and added this locale file:
2010 Apr 29
2
send_data => invalid byte sequence in US-ASCII
I''m trying to display a generated .png plot via send_data(), but it results in a server error "invalid byte sequence in US-ASCII" error. I''m pretty sure this means that I need to specify the encoding somewhere, but I haven''t been able to figure out where or how to do so. Some particulars: I''m running gnuplot through a pipe to generate a plot in .png
2012 Sep 10
4
Rails error: invalid byte sequence in UTF-8
Hello, i have a app on rails 3.2.1 and i use a jquery lib called jQuery Timelinr 0.9.5: http://www.csslab.cl/2011/08/18/jquery-timelinr/ but, when i use it on a .erb view, i got a error: Showing * /home/carlos.ribeiro/projetos/amarribo/app/views/conheca/historico.html.erb* where line *#59* raised: invalid byte sequence in UTF-8 Extracted source (around line *#59*): 57: 58: <%=
2010 Nov 30
0
simple SQLITE3 error!!??library routine called out of sequence
Hi, dear guys! I have following super simple program dbh=DBI.connect("DBI:SQLite3:barron.db") sth=dbh.prepare("INSERT INTO WORDS VALUES(?,?,?)") 3.times{ sth.execute("1","2","3") } and it gives me error : /Users/tsdeng/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-ruby-1.3.1/lib/sqlite3/statement.rb:41:in `bind_param'': library routine called
2013 Mar 07
0
Add-on for sending a sequence of emails
Is there a simple gem / engine / app for sending a sequence of emails - something like iContact or ConstantContact. For instance, I want to send an email when someone registers on my site, then 3 days later, then 10 days later. That''s a rather simple case - would be nice to have some more complex workflow but this would do for now. This would not be too difficult to implement, but
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
I made a new rails app and when i started the server ,it gave following error message. => Booting Mongrel => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in `initialize_without_backlog'': Address already in use - bind(2) (Errno::EADDRINUSE) from
2011 Jul 14
1
rails 3.0.9 ArgumentError (redundant UTF-8 sequence):
Hi guys, I have a simple controller def gmap @intentsearches = Intentsearch.all logger.info @intentsearches respond_to do |format| format.html {render :gmap} format.xml {render :xml => @intentsearches } format.json { render :json => @intentsearches } end end and want a json response, but i do get the following error Completed 500 Internal
2010 Aug 02
0
delayed)_job gem installation issue
here is my environment.rb config.gem ''collectiveidea-delayed_job'', :source => ''http:// gems.github.com'' >>gem list | grep coll collectiveidea-delayed_job (1.8.2) The gem infact got installed via rake gems:install. but now when I start my app, it doesn''t recognize the gem being installed. Please help. script/generate delayed_job
2013 May 27
1
JOB: Ruby on Rails Developer - Hyderabad
****Calling out all the developers**** I am Manas, posting a job requirement for my company for Hyderabad Location. Job Requirement Experience on Ruby on Rails and front end development (HTML, CSS, Java Script) Proficiency in Linux (production & development) Skills Required : MongoDB, Mongide, Git/Github, Backbone GS, JQuery, Rails Good to have skills: RabbitMQ, Scrum/Agile, JIRA,
2011 May 19
3
Cookie Overflow at CSV import
Hi I have a form for importing a csv file. With every entry in my CSV I do a delayed background call from a webservice and the result is then saved to my database. This is working great! Now I tried a CSV file with over 400 rows. After clicking import in my form it takes some time and then I get the following error message: ''ActionDispatch::Cookies::CookieOverflow''. But