Sha256: 309013ad6a873d14a58791d0e3840c636d6124cae78f41ed2ac21ccf54d9b063

Contents?: true

Size: 225 Bytes

Versions: 1

Compression:

Stored size: 225 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  
  def test
    @user = User.new
    @user.errors.add(:exception, 'terrible error')
    @user.errors.add(:is_terrible, 'not checked')
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formatted_form-2.1.2 test/dummy/app/controllers/application_controller.rb