0

I have used delayed_job in a ruby on rails application. As part of that application I have a model Student which is being observed by delayed_job so that a certain action can be taken on update of a Student. But I don't want to call delayed_job on update of certain columns of Student. So basically I want to skip some specific columns of a model in delayed_job.

I have thought of doing that by using some application level flag variables so that delayed_job will only be called when only the flag is reset. But I'll have a problem when multiple instances of the same application process. I mean concurrency issues may arise. So it will not work. I have no idea if there is any way to do that.

Coenwulf
  • 1,937
  • 2
  • 15
  • 23
Joy
  • 4,197
  • 14
  • 61
  • 131

0 Answers0