app/controllers/application_controller.rb
# This function overrides the default devise sign_up_params
#helper_method :sign_up_params # expose this method as a helper
This function overrides the default devise sign_up_params
helper_method :sign_up_params # expose this method as a helper
This function overrides the default devise sign_up_params helper_method : sign_up_params # expose this method as a helper
def user_credentials
          keys = %w[nome cognome email password]
          user_params = select_params(params, keys)
          user_params
        end
def user_credentials keys = %w[ nome cognome email password ] user_params = select_params ( params , keys ) user_params end
This function overrides the default devise sign_up_params
helper_method :sign_up_params # expose this method as a helper
This function overrides the default devise sign_up_params helper_method : sign_up_params # expose this method as a helper