README.md in trailblazer-loader-0.0.7 vs README.md in trailblazer-loader-0.0.8
- old
+ new
@@ -231,9 +231,17 @@
class Create < Trailblazer::Operation
```
## Debugging
+Turn on debugging as follows.
+
+```ruby
+Trailblazer::Loader.new.(debug: true) { |file| require_relative("../#{file}") }
+```
+
+This will print the file list before requiring them.
+
TODO: document PrintFiles
Booting your app fails because the loading order is incorrect? This happens, as we can't cover every possible combination.
In any case, you can use `require` or `require_relative` and load files manually in the file depending on a specific class.