Replaced `after_create :fn` callback with `after_commit :fn, on: :create`, addresses #220.
Replaced `after_create :fn` callback with `after_commit :fn, on: :create`, addresses #220.

nsrr/www.sleepdata.org,nsrr/www.sleepdata.org,nsrr/www.sleepdata.org