Skip to content

Unable to access the serialised object in my model #61

@ganeshkumar

Description

@ganeshkumar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions