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
190
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
490
GIT - Good Practices
wafcio
0
44
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
120
Dry System
wafcio
0
82
dry-validations
wafcio
0
130
Validations in Ruby
wafcio
0
98
Trailblazer bez trailblazera
wafcio
0
140
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
98
Jak (nie) używać Service Object
wafcio
0
120
Other Decks in Programming
See All in Programming
架空のコンペ_スクワットフォーム判別コンペの解法
cpptake
0
430
TypeScript x GraphQLで2年開発してみて
yutank34
8
4.7k
UnityプログラミングバイブルR6号宣伝&Unity Logging小話
adarapata
0
110
PHPerKaigi 2024〜10年以上動いているレガシーなバッチシステムを Kubernetes(Amazon EKS) に移行する取り組み〜
tshinowpub
1
170
Honoとhtmx
yusukebe
6
1.1k
Deep Dive into the Symfony Security Component
hhamon
1
180
軽率にVue 3で リアルタイム3Dアプリを作れる ライブラリを作ってみた/vue-with-3d-app
drumath2237
3
1.2k
So You Think You Know Git - Part 2
schacon
PRO
0
1.4k
Kotlinを用いたDSL的な設計手法と使用上の注意
kohii00
2
490
WasmOS: Wasmを実行する自作Microkernel
riru
0
360
mandaRa: R言語ユーザのための新しい知識共有の場 / mandara_tokyor111
s_uryu
2
410
Static Analysis Automation for Hunting Vulnerable Kernel Drivers
takahiro_haruyama
1
1.4k
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
28
5.9k
Designing the Hi-DPI Web
ddemaree
275
33k
Automating Front-end Workflow
addyosmani
1353
200k
Making the Leap to Tech Lead
cromwellryan
122
8.4k
Side Projects
sachag
451
41k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
67
38k
Building Effective Engineering Teams - LeadDev
addyosmani
25
1.6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
11
1.4k
[RailsConf 2023] Rails as a piece of cake
palkan
21
3.8k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.8k
Statistics for Hackers
jakevdp
789
220k
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