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
290
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
590
GIT - Good Practices
wafcio
0
61
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
150
Dry System
wafcio
0
94
dry-validations
wafcio
0
160
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
Lambda(Python)の リファクタリングが好きなんです
komakichi
5
270
個人開発の学生アプリが企業譲渡されるまで
akidon0000
2
1.2k
SwiftDataのカスタムデータストアを試してみた
1mash0
0
150
The Nature of Complexity in John Ousterhout’s Philosophy of Software Design
philipschwarz
PRO
0
170
カウシェで Four Keys の改善を試みた理由
ike002jp
1
140
エンジニアが挑む、限界までの越境
nealle
1
330
Jakarta EE Meets AI
ivargrimstad
0
900
ビカム・ア・コパイロット
ymd65536
1
130
Rubyの!メソッドをちゃんと理解する
alstrocrack
1
300
GitHub Copilot for Azureを使い倒したい
ymd65536
1
330
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
81
21k
私のRubyKaigi 2025 Kaigi Effect / My RubyKaigi 2025 Kaigi Effect
chobishiba
1
110
Featured
See All Featured
KATA
mclloyd
29
14k
Documentation Writing (for coders)
carmenintech
71
4.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
What's in a price? How to price your products and services
michaelherold
245
12k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Agile that works and the tools we love
rasmusluckow
329
21k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Side Projects
sachag
453
42k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
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