This project is archived and is in readonly mode.
attr_accessor_with_default with collections
-
parrish
I'm sure there is a more elegant approach to this, but I couldn't think of a simpler one that maintained scopes correctly.
Refactoring suggestions are welcome :)Discarding the block option would definitely clarify the intent and code in this method, but that's just my two cents.
-
parrish
- Tag changed from activesupport, core_ext, module to activesupport, core_ext, module, patch
