Replace
@questions = Question.order("question").page(params[:users]).per_page(2)
With
@questions = Question.order("question").paginate(:page => params[:page], :per_page => 2)
EDIT
Update the User model as below:
class User < ActiveRecord::Base
has_many :sender_questions, :class_name => 'Question', :foreign_key => 'sender_id'
has_many :recipient_questions, :class_name => 'Question', :foreign_key => 'recipient_id'
end
Update the UsersController#show action as below:
def show
@user = User.find(params[:id])
@question = @user. recipient_questions.paginate(page: params[:page])
end