deprecated_attributes 0.1.0
DeprecatedAttributes provides a straightforward and unobtrusive method for flagging deprecated attributes in your model. When these attributes are accessed, a warning message will be logged along with a trace of where the deprecated attribute was called. Additionally, an exception can be raised if desired.
Gemfile:
=
インストール:
=
Runtime依存関係 (1):
activesupport
~> 7.0.0