Skip to content

Commit

Permalink
Fix contstantize change in Rails 7
Browse files Browse the repository at this point in the history
  • Loading branch information
peerkleio committed Jun 10, 2024
1 parent f58b381 commit 934b0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/inheritance_integer_type/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def find_sti_class(type_name)
else
begin
if store_full_sti_class
ActiveSupport::Dependencies.constantize(lookup)
lookup.constantize
else
compute_type(lookup)
end
Expand Down

0 comments on commit 934b0c9

Please sign in to comment.