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
Writing config files in Ruby
Search
Grzegorz Witek
March 25, 2018
Technology
0
65
Writing config files in Ruby
Grzegorz Witek
March 25, 2018
Tweet
Share
More Decks by Grzegorz Witek
See All by Grzegorz Witek
One Year with Hanami
arnvald
0
47
Coercion in Ruby
arnvald
1
68
Speaking at RDRC
arnvald
0
50
Read more
arnvald
2
42
Your API is too slow!
arnvald
0
570
The simplest gem you'll ever use
arnvald
0
34
International to global
arnvald
0
31
Patterns, patterns everywhere
arnvald
0
29
Nomadic programmer - Baruco 2014 edition
arnvald
0
110
Other Decks in Technology
See All in Technology
データベース研修 DB基礎【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
210
AOAI Dev Day - Opening Session
yoshidashingo
2
430
エンジニアの生存戦略 〜クラウド潮流の経験から紐解く技術トレンドのメカニズムと乗りこなし方〜
shimy
9
1.9k
Azure AI ことはじめ
tsubakimoto_s
0
130
可視化プラットフォームGrafanaの基本と活用方法の全て
hamadakoji
0
230
[NIKKEI Tech Talk] KDDI/KAG Scrum & Community for Engineering Training
curanosuke
2
220
AWSサービスメニュー開発をしていてAWSを好きだ!と感じた瞬間
toru_kubota
0
130
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
[NIKKEI Tech Talk]Bias for Action!! 実践から学ぶための仕組とコミュニティ / Community for Practice and Learning
kanamasa
0
260
推薦システムを本番導入する上で一番優先すべきだったこと~NewsPicks記事推薦機能の改善事例を元に~
morinota
0
120
簡単に始めるSnowflakeの機械学習
nayuts
1
190
テストケースの自動生成に生成AIの導入を試みた話と生成AIによる今後の期待
shift_evolve
0
180
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
423
64k
No one is an island. Learnings from fostering a developers community.
thoeni
17
2.8k
Adopting Sorbet at Scale
ufuk
71
8.8k
Documentation Writing (for coders)
carmenintech
63
4.2k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Debugging Ruby Performance
tmm1
71
11k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
Building Your Own Lightsaber
phodgson
101
5.9k
Building a Scalable Design System with Sketch
lauravandoore
458
32k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
12
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
52k
The World Runs on Bad Software
bkeepers
PRO
63
11k
Transcript
> < FOOTNOTE TEXT NOBODY READS WRITING CONFIG FILES IN
RUBY @ARNVALD, RUBYCONFTW 2018 1
CONFIG FILES? next 2
BORING!!! next 3
just use JSON / YAML / XML or store it
in the db next 4
configuration is static next 5
what if it has to be dynamic? next 6
is it still configuration? next 7
gem 'simple_configuration' next 8
github: arnvald/simple_configuration next 9
Challenge time! next 10
> < STILL NOTHING TO SEE HERE 11 MISSING_VALUE =
'__missing_value__' def config( config_name, default_value = MISSING_VALUE, &default_value_blk )
> < STILL NOTHING TO SEE HERE 12 engineering.kaligo.com