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
280
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
580
GIT - Good Practices
wafcio
0
58
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
150
Dry System
wafcio
0
90
dry-validations
wafcio
0
150
Validations in Ruby
wafcio
0
160
Trailblazer bez trailblazera
wafcio
0
200
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
150
Jak (nie) używać Service Object
wafcio
0
180
Other Decks in Programming
See All in Programming
安全に倒し切るリリースをするために:15年来レガシーシステムのフルリプレイス挑戦記
sakuraikotone
5
2.6k
Develop Faster With FrankenPHP
dunglas
2
3.1k
AI Agents with JavaScript
slobodan
0
200
AtCoder Heuristic First-step Vol.1 講義スライド
terryu16
3
1.1k
Kubernetesで実現できるPlatform Engineering の現在地
nwiizo
3
1.8k
パスキーのすべて / 20250324 iddance Lesson.5
kuralab
0
150
SEAL - Dive into the sea of search engines - Symfony Live Berlin 2025
alexanderschranz
1
110
アーキテクトと美学 / Architecture and Aesthetics
nrslib
12
3.3k
フロントエンドテストの育て方
quramy
11
2.8k
PsySHから紐解くREPLの仕組み
muno92
PRO
1
540
Compose Hot Reload is here, stop re-launching your apps! (Android Makers 2025)
zsmb
1
360
Do Dumb Things
mitsuhiko
0
400
Featured
See All Featured
A Tale of Four Properties
chriscoyier
158
23k
Why Our Code Smells
bkeepers
PRO
336
57k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
510
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
12
1.4k
The World Runs on Bad Software
bkeepers
PRO
67
11k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
7
630
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.4k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.6k
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