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
Domain Specific Languages and Ruby
Search
Tawan Sierek
February 04, 2016
Programming
58
0
Share
Domain Specific Languages and Ruby
Domain Specific Languages
What are they and how does Ruby help
Tawan Sierek
February 04, 2016
Other Decks in Programming
See All in Programming
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
610
New "Type" system on PicoRuby
pocke
1
450
JavaDoc 再入門
nagise
0
280
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
580
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
2
330
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
エージェンティックRAGにAWSで入門しよう!
har1101
7
890
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
720
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
270
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.1k
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
Spec Driven Development | AI Summit Lisbon
danielsogl
PRO
0
150
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
680
Building the Perfect Custom Keyboard
takai
2
780
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
940
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
300
Scaling GitHub
holman
464
140k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
71
40k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Code Reviewing Like a Champion
maltzj
528
40k
Into the Great Unknown - MozCon
thekraken
41
2.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
Transcript
Domain Specific Languages What are they good for and how
does Ruby help?
[email protected]
@tawan gitbub.com/tawan
None
SQL
SQL
SQL HTML
SQL HTML
SQL HTML
SQL If.. while .. HTML
SQL If.. while .. HTML
SQL If.. while .. HTML
SQL If.. while .. HOW WHAT HTML
None
get '/patients/:id', to: 'patients#show’ namespace :admin do resources :articles,
:comments end Rails’ routes.rb
class Person < ActiveRecord::Base validates :name, presence: true validates
:email, confirmation: true validates :age, numericality: true, on: :update end Rails’ ActiveModel
authorization do privileges do privilege :manage, :includes => [:create, :read,
:update ] privilege :create, :includes => :new privilege :read, :includes => [:index, :show] privilege :update, :includes => :edit privilege :delete, :includes => :destroy end role :branch_admin do has_permission_on :branches, :to => :manage do if_attribute :managers => contains {user} end has_permission_on :employees, :to => :manage do if_permitted_to :manage, :branch end end end Declarative Authorization https://github.com/stffn/declarative_authorization
THANK YOU