Sha256: 4539eb4103bb79b658a4a9a469be1e152730e51bab5c9041f7d5310672c0d445

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

class BootstrapController < ApplicationController

  def form
    @user = User.new(test: "Lorem ipsum")

    @user_with_error = User.new
    @user_with_error.errors.add(:email)
    @user_with_error.errors.add(:terms)
    @user_with_error.errors.add(:test)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfy_bootstrap_form-4.0.0.beta2 demo/app/controllers/bootstrap_controller.rb