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
Generating a CSV file with ROM
Search
Krzysztof Wawer
June 17, 2015
Programming
380
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Generating a CSV file with ROM
Krzysztof Wawer
June 17, 2015
More Decks by Krzysztof Wawer
See All by Krzysztof Wawer
The Good Architecture
wafcio
0
680
GIT - Good Practices
wafcio
0
110
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
230
Dry System
wafcio
0
130
dry-validations
wafcio
0
200
Validations in Ruby
wafcio
0
210
Trailblazer bez trailblazera
wafcio
0
260
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
220
Jak (nie) używać Service Object
wafcio
0
250
Other Decks in Programming
See All in Programming
How I Won Prize Money at a Hackathon Using Codex and Symphony Alpha
yasei_no_otoko
0
130
いまどきの Codex で開発する visionOS アプリの開発スタイルについて
karad
0
180
Press start. Python's next generation.
willingc
PRO
3
300
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.4k
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
120
リアルな遅延を測る仕様
kota_yata
1
130
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
230
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
610
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
480
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
370
業務時間外もAIに働いてもらう話
colorful12
3
9.7k
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.3k
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.1k
Speed Design
sergeychernyshev
33
2.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
From π to Pie charts
rasagy
0
350
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
400
The Cost Of JavaScript in 2023
addyosmani
55
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
880
Typedesign – Prime Four
hannesfritz
42
3.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
550
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
290
Transcript
GENERA TING A CSV FILE WITH ROM
Krzysztof Wawer GITHUB: wafcio TWITTER: @KrzysztofWawer ABOUT ME
None
None
CRUD
RUBY CSV CREATE
RUBY CSV CREATE
RUBY CSV READ
RUBY OBJECT MAPPER
CRUD ROM
ROM READ CREATE UPDATE DELETE
ROM-CSV 1. Read data 2. Create dataset
ROM-CSV • ROM::Memory::Dataset • ROM::ArrayDataset (support module) • ROM::EnumerableDataset (support
module)
ROM-CSV Methods: • join • project (select) • restrict (where)
• order
ROM-CSV • Like database • Generate CSV report
ROM-CSV https://github.com/rom-rb/rom-csv/tree/master/examples