pokonski/public_activity — pull request #136 by agarianalex (2014-02-16 00:42:40+00:00)
Title: prepare_locals: Use Object#send instead of calling directly.

Object#respond_to? will return true for protected methods. However
calling a protected method directly results in an exception. Using
Object#send allows a protected method (like current_user) to be
called.