You may want to use a factory for this. `FactoryGirl.create(:question, user: user)` will create a question for a given user.