I would think that an after_save callback in the note model would work. However, callbacks are generally not the best option.

```ruby
  @activity = Activity.find_by(activity_object_id: @note.guid)
  Notification.create_for_activity(@activity)
```