refs #12147 - adding safety guards to method_missing on compute attributes
There's no need to pass to vm_atts when the method is a setter, also, there's no need to pass if vm_attrs is blank. Those safety guards are required in rails4, and compatible with 3.
Related issues
Refactor #12147: move rails3 compatible changes from the rails4 branch to develop
refs #12147 - adding safety guards to method_missing on compute attributes
There's no need to pass to vm_atts when the method is a setter, also,
there's no need to pass if vm_attrs is blank. Those safety guards are
required in rails4, and compatible with 3.