Skip to content

Commit

Permalink
deprecate attribute no longer uses virtual attribute
Browse files Browse the repository at this point in the history
virtual_attribute marked the attribute for discovery
we have modified discovery to include aliases so it is no longer necessary
  • Loading branch information
kbrock committed Feb 3, 2025
1 parent 50bd91d commit b3a41bd
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 b3a41bd

Please sign in to comment.