Skip to content

Commit 26b29d6

Browse files
⚗️ Explicitely require active_record
Because of the following deprecation message: > DEPRECATION WARNING: ActiveSupport::ProxyObject is deprecated and will > be removed in Rails 8.0. > Use Ruby's built-in BasicObject instead. I've found that it comes from this gem: ```sh ❯ ruby -rbundler/setup -e "Bundler.require" .asdf/installs/ruby/3.3.5/lib/ruby/gems/3.3.0/gems/embedded_localization-1.3.0/lib/embedded_localization.rb:9:in `<top (required)>': uninitialized constant ActiveRecord (NameError) ActiveRecord::Base.extend(EmbeddedLocalization::ActiveRecord::ActMacro) ```
1 parent c10e25a commit 26b29d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/embedded_localization.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
require "active_record"
12
require "embedded_localization/version"
23
require 'extensions/hash'
34

0 commit comments

Comments
 (0)