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 の扱い方
Search
KH
July 30, 2024
21
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby と Rails のざっくりとした Cookie の扱い方
KH
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 KH
See All by KH
ファシリテーションテクニック / facilitation technic
kh777
0
20
Queryオブジェクトとは / What is a Query Object in Rails?
kh777
0
21
Ruby Silverを取得してみた
kh777
0
48
進数を学ぼう!(Rubyの事例)
kh777
0
65
睡眠テクニックを身につける / sleep-technique
kh777
0
74
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
3
970
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
820
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Become a Pro
speakerdeck
PRO
31
6.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Documentation Writing (for coders)
carmenintech
77
5.7k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Product Roadmaps are Hard
iamctodd
55
13k