app/controllers/group_manager_teams_controller.rb
# Only allow a trusted parameter "white list" through.
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .
def group_manager_team_params
      params.require(:group_manager_team).permit(
        :name,
        :email,
        :password,
        :group_manager_id,
        :app_id,
        :first_access,
        :permission => []
      )
    end
def group_manager_team_params params . require ( :group_manager_team ) . permit ( :name , :email , :password , :group_manager_id , :app_id , :first_access , :permission => [ ] ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .