Is there an easy way in ActiveRecord to fully delegate an attribute to an associated (has_one) model, including validations?
-
-
Mind you I'm not sure it's a GOOD idea, but a use case came up in a client session
-
The only thing about it that differs from a feature I definitely want to eventually have is that it needs access to associations. Every iteration on this I've taken, composed attributes only have access to other attributes not the model itself.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.