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
230
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
530
GIT - Good Practices
wafcio
0
45
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
120
Dry System
wafcio
0
87
dry-validations
wafcio
0
140
Validations in Ruby
wafcio
0
130
Trailblazer bez trailblazera
wafcio
0
160
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
110
Jak (nie) używać Service Object
wafcio
0
140
Other Decks in Programming
See All in Programming
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
130
From Idea to IDE: Developing Plugins for Android Studio
thisaay
1
150
Why Prism?
kddnewton
4
1.7k
GoのIteratorに詳しくなってしまう
inatonix
1
200
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
160
Rustではじめる負荷試験
skanehira
5
1.2k
RAGの回答精度評価用のQAデータセットを生成AIに作らせた話
kurahara
0
250
実践 Advanced CallKit 〜快適な通話の実現に向けて〜
mot_techtalk
3
130
エラーレスポンス設計から考える、0→1開発におけるGraphQLへの向き合い方
bicstone
5
1.5k
Rubyのobject_id
qnighy
6
1.3k
REXML改善のその後
naitoh
0
190
What we keep in mind when migrating from Serverless Framework to AWS CDK and AWS SAM
kasacchiful
1
140
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Unsuck your backbone
ammeep
667
57k
Web development in the modern age
philhawksworth
204
10k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.3k
Music & Morning Musume
bryan
46
6k
KATA
mclloyd
27
13k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.2k
The Cult of Friendly URLs
andyhume
76
6k
Statistics for Hackers
jakevdp
793
220k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
18k
Clear Off the Table
cherdarchuk
91
320k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
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