Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Ruby と Rails のざっくりとした Cookie の扱い方 / use cookie ...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
K H
July 30, 2024
0
55
Ruby と Rails のざっくりとした Cookie の扱い方 / use cookie for ruby and rails
K H
July 30, 2024
Tweet
Share
More Decks by K H
See All by K H
ファシリテーションテクニック / facilitation technic
kengohayata
0
12
SQLの実行計画とは / What is an SQL execution plan
kengohayata
0
23
RailsのQueryオブジェクトとは / What is a Query Object in Rails?
kengohayata
0
24
Ruby Silverを取得してみた / get ruby silver
kengohayata
0
20
【LT会】進数を学ぼう! / study base number
kengohayata
0
16
【LT会】睡眠テクニックを身につける / study sleep technique
kengohayata
0
64
エンジニア座談会告知
kengohayata
0
63
未経験転職エンジニア座談会資料
kengohayata
0
60
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
How GitHub (no longer) Works
holman
316
140k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Un-Boring Meetings
codingconduct
0
200
How STYLIGHT went responsive
nonsquared
100
6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
The SEO identity crisis: Don't let AI make you average
varn
0
330
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
79
Transcript
Ruby と Rails の ざっくりとした Cookie の扱い方
2024年6月27日からベータ版の提供をスタート オートレイアウトや豊富なテンプレートが使える 2025年初めごろに無料プランと有料プランが 開始予定 余談 Figma Slides でスライドを作成してみた
そもそも Cookie とは? ・ブラウザごとに保存される小さなデータファイル ・アプリケーションサーバーで Cookieを発行し、クライアントに保存する ・ログイン状態の保持やショッピングカートの保存等に使われる
Ruby の Cookie の扱い方 ・CGI::Cookie クラスで Cookie オブジェクトを扱うことができる ・Rails の
cookies メソッドが主流のため、情報量が少ない ・CGI::Cookie.new で Cookie オブジェクトを作成できる →
Rails の Cookie の扱い方 ・主に ActionDispatch::Cookies モジュールが提供する cookies メソッドを
使って Cookie を保存する ・rails_same_site_cookie、cookies_eu、jquery-cookie-rails など さまざまな gem が存在する ・ActionDispatch::Session::CookieStore を使って、セッションを Cookie に 保存できるようになる