Topic: Delayed Job not Working in Production Mode

Hello,

I am currently using delayed_job gem to sending emails.
delayed_job was working well but from last 5 days or so mails are not getting sent and I am receiving following error.

Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email' for #<Syck::DomainType:0x00000002054d60> - 10 failed attempts
2011-10-08T21:50:43+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 4.5769 j/s, 1 failed ...
2011-10-09T01:53:04+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#private_group_join_request failed with NoMethodError: undefined method `private_group_join_request' for #<Syck::DomainType:0x00000006530330> - 11 failed attempts
2011-10-09T01:53:04+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 1.4503 j/s, 1 failed ...
2011-10-09T01:54:40+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email' for #<Syck::DomainType:0x0000000647b6b0> - 11 failed attempts
2011-10-09T01:54:40+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 4.3384 j/s, 1 failed ...
2011-10-09T01:54:50+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email' for #<Syck::DomainType:0x00000006446d70> - 11 failed attempts
2011-10-09T01:54:50+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 6.0611 j/s, 1 failed ...
2011-10-09T07:38:49+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#private_group_join_request failed with NoMethodError: undefined method `private_group_join_request' for #<Syck::DomainType:0x00000006208310> - 12 failed attempts
2011-10-09T07:38:49+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 1.9608 j/s, 1 failed ...
2011-10-09T07:40:24+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email' for #<Syck::DomainType:0x000000061972c8> - 12 failed attempts
2011-10-09T07:40:24+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 5.7886 j/s, 1 failed ...
2011-10-09T07:40:35+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email' for #<Syck::DomainType:0x000000061702b8> - 12 failed attempts
2011-10-09T07:40:35+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 2.4977 j/s, 1 failed ...
2011-10-09T15:34:57+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#private_group_join_request failed with NoMethodError: undefined method `private_group_join_request' for #<Syck::DomainType:0x0000000626e5e8> - 13 failed attempts
2011-10-09T15:34:57+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 2.0666 j/s, 1 failed ...
2011-10-09T15:36:32+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email' for #<Syck::DomainType:0x000000061fd8c0> - 13 failed attempts
2011-10-09T15:36:32+0530: [Worker(delayed_job host:backupserver pid:23953)] 1 jobs processed at 3.9608 j/s, 1 failed ...
2011-10-09T15:36:43+0530: [Worker(delayed_job host:backupserver pid:23953)] Syck::DomainType#contact_us_email failed with NoMethodError: undefined method `contact_us_email'


Environment Which I am using in Rails App.

Rails 3.0.8
Ruby 1.9.2 (2011-07-09 patchlevel 290) [i686-linux] (RVM)
rake 0.9.2
actionmailer 3.0.8
delayed_job 2.1.4
RUBYGEMS VERSION: 1.3.7

If anyone have encountered the same problem please share the solution? Or if any one knows whats the problem, please let me know.


Thanks,
Kalpesh