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
0
54
Domain Specific Languages and Ruby
Domain Specific Languages
What are they and how does Ruby help
Tawan Sierek
February 04, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
チームのテスト力を鍛える
goyoki
3
930
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
640
Amazon RDS 向けに提供されている MCP Server と仕組みを調べてみた/jawsug-okayama-2025-aurora-mcp
takahashiikki
1
120
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
機能追加とリーダー業務の類似性
rinchoku
2
1.3k
知っているようで知らない"rails new"の世界 / The World of "rails new" You Think You Know but Don't
luccafort
PRO
1
190
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
2.5k
今だからこそ入門する Server-Sent Events (SSE)
nearme_tech
PRO
3
260
Kiroで始めるAI-DLC
kaonash
2
630
私の後悔をAWS DMSで解決した話
hiramax
4
210
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
190
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Designing for humans not robots
tammielis
253
25k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
KATA
mclloyd
32
14k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
GraphQLとの向き合い方2022年版
quramy
49
14k
YesSQL, Process and Tooling at Scale
rocio
173
14k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
Raft: Consensus for Rubyists
vanstee
140
7.1k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
The Cult of Friendly URLs
andyhume
79
6.6k
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