← All slides

Ruby & Ruby on Rails for Beginners — Slides

50 lessons, 774 slides. Each lesson's text and code as one deck (the slides are in Japanese).

Version 1 (made 2026-11-07)

Payment is handled on Stripe's page. After buying, you can download from this page at any time.

Please log in to use a coupon code. You can also enter a promotion code on the payment page (Stripe).

Samples

Sample slide 1 Sample slide 2 Sample slide 3

What's included

  • slides.pdf — One slide per page. For checking or printing
  • png/ — 1920×1080 images, ready to drop into a video editor
  • index.html — Open in a browser to present. Press P for the presenter view (notes, next slide, elapsed time)

Each lesson has its own folder. The lesson text is kept as is, so what to say appears in the presenter notes.

How you may use them

  • Your own study
  • Classes, lectures and study groups you teach yourself
  • In-house training at your own company or organization
  • On screen in videos you record yourself for those classes or trainings
  • Editing the wording or reordering slides for those uses
  • Handing out the slide files themselves (PDF, PNG, HTML) to learners or anyone else
  • Selling the slides, or edited versions of them, or including them in paid materials
  • Posting them anywhere public (websites, social media, public videos on video sites, etc.)
  • Removing the 4peiron.dev credit and presenting them as your own work

4peiron.dev keeps the copyright. What you buy is the right to use the slides as described above. The same terms are in README.txt inside the ZIP.

Contents

1

Ruby とは(すべてがオブジェクト)

16 slides

2

環境構築(rbenv・gem・bundler)

13 slides

3

変数とメソッド(引数の渡し方)

15 slides

4

条件分岐と繰り返し(unless と each)

18 slides

5

配列とハッシュ

18 slides

6

ブロックと Enumerable(map・select・reduce)

17 slides

7

クラスとモジュール(継承と mixin)

18 slides

8

例外と gem(rescue と Bundler)

30 slides

9

rails new とディレクトリ構成

15 slides

10

MVC とリクエストの流れ

12 slides

11

ルーティング(routes.rb と名前付きルート)

13 slides

12

コントローラとアクション

13 slides

13

ERB でビューを書く

12 slides

14

レイアウトとパーシャル

14 slides

15

【実践】静的なページから動的なページへ

22 slides

16

マイグレーションとスキーマ

12 slides

17

モデルと CRUD(作る・読む・直す・消す)

12 slides

18

クエリの書き方(where・order・limit)

14 slides

19

バリデーション

12 slides

20

関連(belongs_to と has_many)

16 slides

21

多対多(has_many through)

16 slides

22

スコープとコールバック

13 slides

23

N+1 とインデックス

12 slides

24

フォーム(form_with)

17 slides

25

Strong Parameters

14 slides

26

CRUD を完成させる

19 slides

27

フラッシュとリダイレクト(PRG)

16 slides

28

認証を手で書く(has_secure_password)

17 slides

29

Devise で認証を入れる

16 slides

30

認可(ログイン必須と持ち主チェック)

21 slides

31

【実践】ユーザーごとの記事管理

27 slides

32

Minitest で書く(rails test)

15 slides

33

RSpec を入れる

14 slides

34

モデルスペックとマッチャ

13 slides

35

FactoryBot でテストデータを作る

16 slides

36

リクエストスペック

16 slides

37

システムスペックと、何をテストするか

13 slides

38

RuboCop と Brakeman

13 slides

39

Hotwire と Turbo Drive

12 slides

40

Turbo Frames

14 slides

41

Turbo Streams

16 slides

42

Stimulus

15 slides

43

Active Job で後回しにする

13 slides

44

ファイルアップロード(Active Storage)

17 slides

45

日本語化(I18n)とメール

19 slides

46

設定と秘密情報(credentials と環境変数)

13 slides

47

本番環境の設定

12 slides

48

Docker と Kamal でデプロイ

14 slides

49

Laravel との違いを並べる

16 slides

50

総まとめ(ここから先へ)

13 slides

The lesson text is on the course page. Slides are sold separately from the membership; members also need to buy them. Refunds follow the Terms of Service.