Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
58
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
ChromeでローカルLLM
ryu1013
0
190
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
160
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
280
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
2k
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
Getting Started with Vibe Coding
miccheng
0
180
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
120
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
1.9k
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
320
GraphQL の onError と Nullability のこれから
quramy
0
200
Vue.jsで作る空間解析アプリとCapacitorプラグインのData Bridge
hal_spidernight
1
160
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
320
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
600
Why Our Code Smells
bkeepers
PRO
340
58k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Producing Creativity
orderedlist
PRO
348
41k
Documentation Writing (for coders)
carmenintech
77
5.6k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Raft: Consensus for Rubyists
vanstee
143
7.8k
Thoughts on Productivity
jonyablonski
76
5.4k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
450
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Designing for humans not robots
tammielis
254
26k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
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