[Solved] Resolve Fixnum error [closed]
You are calling the employee_id method on authorization_selectedwhich is a String and does not provide this method. Obviously this does not work. You probably want to do @portability = Portability.new @portability.employee_id = authorization_selected assuming that params[:employee] contains the employee_id and Portability is an ActiveModel or an ActiveRecord. Perhaps you can change your form that the … Read more