Skip to content

Commit

Permalink
Merge pull request #23321 from kbrock/deprecation_aliases
Browse files Browse the repository at this point in the history
deprecate attribute no longer uses virtual attribute
  • Loading branch information
jrafanie authored Feb 11, 2025
2 parents 3fdca56 + 4b05909 commit 290f142
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/mixins/deprecation_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ def deprecate_belongs_to(old_belongs_to, new_belongs_to)

def deprecate_attribute(old_attribute, new_attribute, type:)
deprecate_attribute_methods(old_attribute, new_attribute)
virtual_attribute(old_attribute, type)
hide_attribute(old_attribute)
end

Expand Down

0 comments on commit 290f142

Please sign in to comment.