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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tawan Sierek
February 04, 2016
Programming
0
57
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
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
210
Rethinking API Platform Filters
vinceamstoutz
0
3.8k
安いハードウェアでVulkan
fadis
1
840
モダンOBSプラグイン開発
umireon
0
190
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
570
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
670
Coding as Prompting Since 2025
ragingwind
0
370
KagglerがMixSeekを触ってみた
morim
0
340
PHP 7.4でもOpenTelemetryゼロコード計装がしたい! / PHPerKaigi 2026
arthur1
1
440
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
510
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
320
Codex の「自走力」を高める
yorifuji
0
1.3k
Featured
See All Featured
Marketing to machines
jonoalderson
1
5.1k
Done Done
chrislema
186
16k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
250
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
160
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Raft: Consensus for Rubyists
vanstee
141
7.4k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
500
Chasing Engaging Ingredients in Design
codingconduct
0
150
Documentation Writing (for coders)
carmenintech
77
5.3k
Un-Boring Meetings
codingconduct
0
240
BBQ
matthewcrist
89
10k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
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