Create the custom form and when the user hits the submit server-side you do the calculate and write your logic there.
UserController < ActiveRecord::Base
 ..... 
 def psychometric_assessment #Define routes to call this method
   ****YOUR LOGIC***** 
 end 
 .....
end
4
solved ruby on rails psychometric app [closed]