-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributesProxy #21
Milestone
Comments
Would this also extend to ActiveModel models too? Coz I have a real need to use the ActiveModel attributes API with literal types... attribute :therapist_id, _Union(String, Symbol) |
Yeah, that's what this is for. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A module that behaves like
Literal::Attributes
, but proxies all the setting and getting tosuper
. This could be used on ActiveRecord models, for example.The text was updated successfully, but these errors were encountered: