Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

Standup 2010-10-25 — Rails 3-related helps and interestings


  • Edit: followup to delayed_job job logging failures

Switching to resque might help, but not without first rewriting the jobs.

More research yielded the fact that delayed_job reopens all files (including the log files) when it spins up. Under Ruby 1.8, File#reopen defaults file mode to last set, while 1.9 defaults to read only. This could easily cause logging failures. (with a nod to Davis W. Frank for the followup info)


  1. Nick Gauthier says:

    Interesting #1: This is why you should always use foreign keys in your DB. They can be instructed to raise errors, delete the associated object, or nullify the column for you, and they are faster and more reliable than rails methods.

Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *