You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: formulas_controller.rb
    path of file: ./repos/script_core/spec/dummy/app/controllers/forms
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class Forms::FormulasContr
    
  def edit; end

  # POST /forms/1/formulas
  def create
    @formula = @form.formulas.build(formula_params)

    if @formula.save
      redirect_to form_formulas_url(@form), notice: "formula was successfully created."
    else
      render :new
    end
  end