I would just change this to :name instead of :logged_by.