I have a has_one
association between User model and Player model. I see myself doing current_user.player so many times in controllers and views, and I feel like I am hitting the DB way too much every time I do that. Also it would be nice to have a current_player method.
How and where would I define a method like that so I can access current_player
from both the controllers and the views?