You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the resource class does not define an accessor in this case (i.e., the Foo resource does not have bar method). But maybe I'm doing something wrong?
Thanks
Moshe
The text was updated successfully, but these errors were encountered:
Thanks @valscion. So it appears that the difference is that I am using the git version of JR, rather than 0.9. As far as I can see, with the git version, the dummy app fails as well (I'm not sure how one is supposed to run it, none of the policy methods are defined...) I can't figure out what exactly has changed in JR, or why.
Hi,
I am getting an error message when trying to access a has_one resource, as in
/foos/7/bar
where a Foo has one Bar. I traced the problem to this line:
jsonapi-authorization/lib/jsonapi/authorization/authorizing_processor.rb
Line 94 in da04d6c
It appears that the resource class does not define an accessor in this case (i.e., the Foo resource does not have
bar
method). But maybe I'm doing something wrong?Thanks
Moshe
The text was updated successfully, but these errors were encountered: