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
610
GIT - Good Practices
wafcio
0
66
Slim Ruby on Rails: Controllers & Middlewares
wafcio
1
160
Dry System
wafcio
0
97
dry-validations
wafcio
0
160
Validations in Ruby
wafcio
0
180
Trailblazer bez trailblazera
wafcio
0
210
ActiveRecord, DataMapper czy Agregacja encji
wafcio
0
160
Jak (nie) używać Service Object
wafcio
0
190
Other Decks in Programming
See All in Programming
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
980
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
150
XP, Testing and ninja testing
m_seki
3
220
Create a website using Spatial Web
akkeylab
0
310
来たるべき 8.0 に備えて React 19 新機能と React Router 固有機能の取捨選択とすり合わせを考える
oukayuka
2
870
GraphRAGの仕組みまるわかり
tosuri13
8
500
第9回 情シス転職ミートアップ 株式会社IVRy(アイブリー)の紹介
ivry_presentationmaterials
1
250
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
400
PHPで始める振る舞い駆動開発(Behaviour-Driven Development)
ohmori_yusuke
2
230
Deep Dive into ~/.claude/projects
hiragram
10
1.9k
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
590
システム成長を止めない!本番無停止テーブル移行の全貌
sakawe_ee
1
150
Featured
See All Featured
Making Projects Easy
brettharned
116
6.3k
Thoughts on Productivity
jonyablonski
69
4.7k
Building Applications with DynamoDB
mza
95
6.5k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
670
Facilitating Awesome Meetings
lara
54
6.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Speed Design
sergeychernyshev
32
1k
Automating Front-end Workflow
addyosmani
1370
200k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
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