Sha256: b732525cdd2127e9f43d1cb2059f5b4006f5274152910de30b5701fe02d351fd

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

class HomeController < ApplicationController
  layout false

  def default_fields
    @user = User.new
  end

  def errors_for
    @user = User.new
    @user.errors.add(:email, "should be email")
  end

  def field_with_hint
    @user = User.new
  end

  def buttons
    @user = User.new
  end

  def submit_button
    @user = User.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
booter-1.0.0.rc1 spec/dummy/app/controllers/home_controller.rb