Skip to content

Commit

Permalink
Add missing require statements
Browse files Browse the repository at this point in the history
After merging [#20](#20) we
need to do explicit with extensions.
  • Loading branch information
waiting-for-dev committed Sep 13, 2024
1 parent 06fa189 commit c8d9dff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/dry/operation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

require "zeitwerk"
require "dry/monads"
require "dry/operation/errors"
require "dry/operation/extensions/active_record"
require "dry/operation/extensions/rom"

module Dry
# DSL for chaining operations that can fail
Expand Down
2 changes: 2 additions & 0 deletions lib/dry/operation/extensions/active_record.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

require "dry/operation/errors"

begin
require "active_record"
rescue LoadError
Expand Down

0 comments on commit c8d9dff

Please sign in to comment.