I am somewhat ambivalent on whether it is semantically consistent to have the remote_app there or not when executing the hook. It does, however, seem to me a violation of the element of least surprise: I can discover the relation iterating over the model, but if I access some of its fields, things blow up.
I am somewhat ambivalent on whether it is semantically consistent to have the remote_app there or not when executing the hook. It does, however, seem to me a violation of the element of least surprise: I can discover the relation iterating over the model, but if I access some of its fields, things blow up.