Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
70
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby と Rails のざっくりとした Cookie の扱い方 / use cookie for ruby and rails
K H
July 30, 2024
Transcript
5 slides
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 に 保存できるようになる
More Decks by K H
See All by K H
ファシリテーションテクニック / facilitation technic
kengohayata
0
28
SQLの実行計画とは / What is an SQL execution plan
kengohayata
0
39
RailsのQueryオブジェクトとは / What is a Query Object in Rails?
kengohayata
0
43
Ruby Silverを取得してみた / get ruby silver
kengohayata
0
39
【LT会】進数を学ぼう! / study base number
kengohayata
0
36
【LT会】睡眠テクニックを身につける / study sleep technique
kengohayata
0
84
エンジニア座談会告知
kengohayata
0
83
未経験転職エンジニア座談会資料
kengohayata
0
77
Featured
See All Featured
Mind Mapping
helmedeiros
1
460
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
390
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
610
Making the Leap to Tech Lead
cromwellryan
135
10k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Are puppies a ranking factor?
jonoalderson
2
4.2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
The Curious Case for Waylosing
cassininazir
1
630
Ethics towards AI in product and experience design
skipperchong
2
470
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
121
130k
Docker and Python
trallard
47
4.3k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k