You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for examaple: User.rb model contains "reward" method which should be called using delayed job.
def reward
puts self.inspect ==> its returning the db record not the delayed job object [handler].
end
Now the problem is how do i access the delayed job object in reward method.
The text was updated successfully, but these errors were encountered:
Hi,
for examaple: User.rb model contains "reward" method which should be called using delayed job.
def reward
puts self.inspect ==> its returning the db record not the delayed job object [handler].
end
Now the problem is how do i access the delayed job object in reward method.
The text was updated successfully, but these errors were encountered: