Closed ncallaway closed 5 years ago
This should probably be implemented using Chris' multi-target allows: https://github.com/apsislabs/phi_attrs/pull/8
This is fixed in the current version of https://github.com/apsislabs/phi_attrs/pull/8 though that PR may not end up being merged as-is.
Resolved in #8
Calling
extend_phi_access
does not adequately work for relationships that were defined withhas_many
instead of belongs to.Example:
Fix will likely need to be in the
phi_extend_access
method in https://github.com/apsislabs/phi_attrs/blob/master/lib/phi_attrs/phi_record.rb#L286