Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Generating a CSV file with ROM
Krzysztof Wawer
June 17, 2015
Programming
0
140
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
420
GIT - Good Practices
wafcio
0
37
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
91
Dry System
wafcio
0
77
dry-validations
wafcio
0
110
Validations in Ruby
wafcio
0
48
Trailblazer bez trailblazera
wafcio
0
110
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
82
Jak (nie) używać Service Object
wafcio
0
96
Other Decks in Programming
See All in Programming
量子コンピュータ時代のプログラミングセミナー / 20221222_Amplify_seminar _route_optimization
fixstars
0
240
How to Fight Production Incidents?
asatarin
0
130
Form実装基本を学び直してみた
hyugatsukui
0
200
OIDC仕様に準拠した Makuake ID連携基盤構築の裏側
ymtdzzz
0
130
Amebaブログの会員画面システム刷新の道程
ryotasugawara
1
200
Swift Concurrency in GoodNotes
inamiy
4
1.3k
Cloudflare WorkersでGoを動かすライブラリを作っている話
syumai
1
280
新卒2年目がデータ分析API開発に挑戦【Stapy#88】/data-science-api-begginer
matsuik
0
330
LIFFで動く割り勘アプリTATEKAをリリースしてみた話
inoue2002
0
160
MBSD Cybersecurity Challenges 2022 最終審査会 IPFactory 発表スライド
futabato
0
830
「自律型開発組織」を目指すCTOの、試行錯誤の記録
ar_tama
1
200
Remix + Cloudflare Pages + D1 で ポケモン SV のレンタルチームを検索できるアプリを作ってみた
kuroppe1819
4
1.2k
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
34
1.5k
Adopting Sorbet at Scale
ufuk
65
7.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
63k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
1.2k
Faster Mobile Websites
deanohume
295
29k
A Modern Web Designer's Workflow
chriscoyier
690
180k
Learning to Love Humans: Emotional Interface Design
aarron
263
38k
The World Runs on Bad Software
bkeepers
PRO
59
5.7k
Git: the NoSQL Database
bkeepers
PRO
418
60k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
270
12k
What's new in Ruby 2.0
geeforr
336
30k
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