Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveSupport.on_load not being called #4

Closed
chriscz opened this issue Sep 30, 2020 · 2 comments
Closed

ActiveSupport.on_load not being called #4

chriscz opened this issue Sep 30, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@chriscz
Copy link
Contributor

chriscz commented Sep 30, 2020

What did you do?

I set up active_event_store according to the instructions:

ActiveSupport.on_load :active_event_store do |store|
  store.subscribe MyEventHandler, to: ProfileCreated
end

What did you expect to happen?

I expected the on_load block to be executed.

What actually happened?

The block doesn't execute

Additional context

Environment

Ruby Version: 2.5.8

Framework Version (Rails, whatever): Rails 5.2.4.4

Active Event Store Version: 0.2.0

@palkan
Copy link
Owner

palkan commented Sep 30, 2020

Thanks for the reproduction! Checking now.

@palkan palkan added the bug Something isn't working label Sep 30, 2020
@palkan palkan closed this as completed in ce1957d Sep 30, 2020
@palkan
Copy link
Owner

palkan commented Sep 30, 2020

Fixed and released in 0.2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants