# Callback behavior differs between Windows and Linux

**URL:** <https://www.ruby-forum.com/t/callback-behavior-differs-between-windows-and-linux/161500>\
**Category:** Rails\
**Created:** [February 26, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/callback-behavior-differs-between-windows-and-linux/161500 "2009-02-26T23:27:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Commander\_J](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/a8b319/32.png) [@Commander\_J](https://www.ruby-forum.com/u/Commander_J)\
**Post date:** [February 26, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/callback-behavior-differs-between-windows-and-linux/161500/1 "2009-02-26T23:27:47Z")

</div>

Hi,  
I have a model with a callback

(person.rb)  
after\_create :send\_creation\_mail

On Windows, this doesn’t send until Person.save. On Linux, the hook is  
executed upon Person.new.

Any ideas why this happens?

Best regards,  
CmdJohnson
