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
320
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
630
GIT - Good Practices
wafcio
0
75
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
180
Dry System
wafcio
0
110
dry-validations
wafcio
0
170
Validations in Ruby
wafcio
0
190
Trailblazer bez trailblazera
wafcio
0
220
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
180
Jak (nie) używać Service Object
wafcio
0
210
Other Decks in Programming
See All in Programming
CSC305 Lecture 05
javiergs
PRO
0
210
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
1k
階層構造を表現するデータ構造とリファクタリング 〜1年で10倍成長したプロダクトの変化と課題〜
yuhisatoxxx
3
1k
XP, Testing and ninja testing ZOZ5
m_seki
3
650
私はどうやって技術力を上げたのか
yusukebe
43
18k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
320
All About Angular's New Signal Forms
manfredsteyer
PRO
0
150
明日から始めるリファクタリング
ryounasso
0
140
ポスターセッション: 「まっすぐ行って、右!」って言ってラズパイカーを動かしたい 〜生成AI × Raspberry Pi Pico × Gradioの試作メモ〜
komofr
0
1.3k
Software Architecture
hschwentner
6
2.3k
Cursorハンズオン実践!
eltociear
2
1.1k
CSC509 Lecture 04
javiergs
PRO
0
300
Featured
See All Featured
Docker and Python
trallard
46
3.6k
The Invisible Side of Design
smashingmag
302
51k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Agile that works and the tools we love
rasmusluckow
331
21k
Speed Design
sergeychernyshev
32
1.2k
A designer walks into a library…
pauljervisheath
209
24k
Building Applications with DynamoDB
mza
96
6.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Side Projects
sachag
455
43k
We Have a Design System, Now What?
morganepeng
53
7.8k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
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