I want to use recently stored record ID in after_save callback, is that possible if yes how?
after_save :create_children
def create_children
self.id
end
Update: Sorry there was something going wrong with my save function, my bad, sorry to waste your time
Thanks
I just tried it with this:
and in the console:
What else is going on in your model?