We’re currently making rapid changes to the product so our docs may be out of date. If you need help, please email firstname.lastname@example.org.
Since notifications are run asynchronously, we'll want to make sure jobs are
bundle exec sidekiq. If that's not running, you won't receive any
notifications. You might need to create another account to pass notifications
back and forth if you're doing this all through the UI.
Otherwise, you can generate notifications from the Rails console and run the
class methods from
app/models/notification.rb. For example:
# follow notification
me = User.last
follow = User.first.follow(me)
# reaction notification
rxn = Reaction.create(
reactable: me.articles.last, # this assumes you have an article written
Notice you have to run these methods
without_delay since this is assuming jobs
are not running.