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
0
310
Generating a CSV file with ROM
Krzysztof Wawer
June 17, 2015
Tweet
Share
More Decks by Krzysztof Wawer
See All by Krzysztof Wawer
The Good Architecture
wafcio
0
620
GIT - Good Practices
wafcio
0
70
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
170
Dry System
wafcio
0
100
dry-validations
wafcio
0
160
Validations in Ruby
wafcio
0
180
Trailblazer bez trailblazera
wafcio
0
220
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
170
Jak (nie) używać Service Object
wafcio
0
200
Other Decks in Programming
See All in Programming
Strands Agents で実現する名刺解析アーキテクチャ
omiya0555
1
120
リッチエディターを安全に開発・運用するために
unachang113
1
380
Webinar: AI-Powered Development: Transformiere deinen Workflow mit Coding Tools und MCP Servern
danielsogl
0
130
Understanding Ruby Grammar Through Conflicts
yui_knk
1
100
画像コンペでのベースラインモデルの育て方
tattaka
3
1.6k
ワープロって実は計算機で
pepepper
2
1.3k
抽象化という思考のツール - 理解と活用 - / Abstraction-as-a-Tool-for-Thinking
shin1x1
1
980
iOS開発スターターキットの作り方
akidon0000
0
240
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
1.1k
プロダクトという一杯を作る - プロダクトチームが味の責任を持つまでの煮込み奮闘記
hiliteeternal
0
450
CEDEC 2025 『ゲームにおけるリアルタイム通信への QUIC導入事例の紹介』
segadevtech
3
860
一人でAIプロダクトを作るための工夫 〜技術選定・開発プロセス編〜 / I want AI to work harder
rkaga
12
2.6k
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
77
9.5k
Optimizing for Happiness
mojombo
379
70k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Become a Pro
speakerdeck
PRO
29
5.5k
Rails Girls Zürich Keynote
gr2m
95
14k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
RailsConf 2023
tenderlove
30
1.2k
Six Lessons from altMBA
skipperchong
28
3.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
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