fix to show resource actions on has_many relations

The current 4.0 stable branch doesn't show resource actions for has_many relations.

I'm not sure why the methods are not working, but switching over to directly accessing the attribute seems to do the trick.