IM非常新颖,可以进行子宫测试,需要一线帮助。
在我的时间表上测试一名控制员,并试图测试这一法典。
if params[:user_id] == nil
if current_user == nil
redirect_to new_user_session_path
else
@user_id = current_user.id
end
else
@user_id = params[:user_id]
end
im not sure if its even worth testing but it seems theres a lack of tutorials for the beginner out there, so i wouldnt know. thanks in advance