Question: [8] iii) The code below shows the initial five lines of the create action of the user controller, that your colleague has modified. Comment on
[8] iii) The code below shows the initial five lines of the create action of the user controller, that your colleague has modified. Comment on the suitability of this code, including any issues that it may cause and how these issues if any can be resolved [6] 01 def create 02 @user = User.new(params) 03 04 respond_to do \format| 05 if@user.save
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
