Skip to content

Commit

Permalink
Fixes sequel deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
gucki committed Nov 30, 2020
1 parent 961e1db commit 201d8a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/i18n/backend/sequel/translation.rb
Expand Up @@ -67,7 +67,7 @@ class Translation < ::Sequel::Model(:i18n_translations)
end end


namespace = "#{keys.last}#{I18n::Backend::Flatten::FLATTEN_SEPARATOR}%" namespace = "#{keys.last}#{I18n::Backend::Flatten::FLATTEN_SEPARATOR}%"
filter{({:key => keys}) | (key.like(namespace))} filter{::Sequel.|({:key => keys}, key.like(namespace))}
end end


plugin :serialization, :json, :value, :interpolations plugin :serialization, :json, :value, :interpolations
Expand Down

0 comments on commit 201d8a9

Please sign in to comment.