README.md in descendants_describable-0.0.6 vs README.md in descendants_describable-0.0.7
- old
+ new
@@ -95,9 +95,15 @@
include Activity::Descriptors::TargetRequired
end
```
+## Note
+
+You should put any calls to `describe_descendants_with` somewhere where it will only be executed
+once per boot of your app (including code reloading), such as an initializer(s). This is because
+each time you call `describe_descendants_with`, a hook is registered with Rails via
+`ActiveSupport::Reloader.to_run`; you don't want to register duplicate reload hooks.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)