Submit Search
Upload
Sinatraで触れる生SQL
•
0 likes
•
1,046 views
treby
Follow
Shinjuku.rb #55 https://shinjukurb.connpass.com/event/71662/
Read less
Read more
Technology
Report
Share
Report
Share
1 of 26
Recommended
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
treby
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
treby
Frontendと向き合う
Frontendと向き合う
treby
Vue.js + Vuexチーム開発実践の事例
Vue.js + Vuexチーム開発実践の事例
treby
ATLRUG Announcements/Upgrade News - August 2016
ATLRUG Announcements/Upgrade News - August 2016
jasnow
There's No Such Thing as a Data Cow
There's No Such Thing as a Data Cow
Alexandra Richards
UPenn on Rails intro
UPenn on Rails intro
Mat Schaffer
既存の資産をXamarinで / Utilize existing assets as Xamarin library
既存の資産をXamarinで / Utilize existing assets as Xamarin library
Yusuke Yamada
Recommended
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
Railsフロントエンドの modernizeにおける一事例 ~decaffeinateからES2015移行まで~
treby
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
Railsのフロントエンドのトレンドと実際〜事業を進めながら、レールに乗り続けるためのテクニック〜
treby
Frontendと向き合う
Frontendと向き合う
treby
Vue.js + Vuexチーム開発実践の事例
Vue.js + Vuexチーム開発実践の事例
treby
ATLRUG Announcements/Upgrade News - August 2016
ATLRUG Announcements/Upgrade News - August 2016
jasnow
There's No Such Thing as a Data Cow
There's No Such Thing as a Data Cow
Alexandra Richards
UPenn on Rails intro
UPenn on Rails intro
Mat Schaffer
既存の資産をXamarinで / Utilize existing assets as Xamarin library
既存の資産をXamarinで / Utilize existing assets as Xamarin library
Yusuke Yamada
swift-log について
swift-log について
Shinya Mochida
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Ambassador Labs
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Timothy Ricablanca
Redmineと自分のそのころ
Redmineと自分のそのころ
Tomohisa Kusukawa
Reactive Xamarin. UA Mobile 2016.
Reactive Xamarin. UA Mobile 2016.
UA Mobile
ATLRUG Giveback Announcements - Oct. 2014
ATLRUG Giveback Announcements - Oct. 2014
jasnow
Automating microservices: what, where and when
Automating microservices: what, where and when
Oleksandr Romanov
超カジュアルに使うMySQL @ MySQL Casual Talks #2
超カジュアルに使うMySQL @ MySQL Casual Talks #2
Tasuku Suenaga
Rails I18n From The Trenches
Rails I18n From The Trenches
clemensk
Why I don’t want to develop iOS apps in Objective C
Why I don’t want to develop iOS apps in Objective C
SeniorDevOnly
Upgrading to rails3
Upgrading to rails3
Yi-Ting Cheng
Atlrug giveback-2015-aug
Atlrug giveback-2015-aug
jasnow
Scaling Uber's Real-time Market Platform
Scaling Uber's Real-time Market Platform
C4Media
Impression of Rails 3
Impression of Rails 3
Kosuke Matsuda
The Architecture of PicCollage Server
The Architecture of PicCollage Server
Lin Jen-Shin
遇見 Ruby on Rails
遇見 Ruby on Rails
Wen-Tien Chang
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
暁 三宅
mastodon API
mastodon API
treby
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
グラフデータベース Neptune 使ってみた
グラフデータベース Neptune 使ってみた
Yoshiyasu SAEKI
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
Night Sailer
Railsチュートリアルの歩き方 (第4版)
Railsチュートリアルの歩き方 (第4版)
Yohei Yasukawa
More Related Content
What's hot
swift-log について
swift-log について
Shinya Mochida
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Ambassador Labs
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Timothy Ricablanca
Redmineと自分のそのころ
Redmineと自分のそのころ
Tomohisa Kusukawa
Reactive Xamarin. UA Mobile 2016.
Reactive Xamarin. UA Mobile 2016.
UA Mobile
ATLRUG Giveback Announcements - Oct. 2014
ATLRUG Giveback Announcements - Oct. 2014
jasnow
Automating microservices: what, where and when
Automating microservices: what, where and when
Oleksandr Romanov
超カジュアルに使うMySQL @ MySQL Casual Talks #2
超カジュアルに使うMySQL @ MySQL Casual Talks #2
Tasuku Suenaga
Rails I18n From The Trenches
Rails I18n From The Trenches
clemensk
Why I don’t want to develop iOS apps in Objective C
Why I don’t want to develop iOS apps in Objective C
SeniorDevOnly
Upgrading to rails3
Upgrading to rails3
Yi-Ting Cheng
Atlrug giveback-2015-aug
Atlrug giveback-2015-aug
jasnow
Scaling Uber's Real-time Market Platform
Scaling Uber's Real-time Market Platform
C4Media
What's hot
(13)
swift-log について
swift-log について
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Microservices Practitioner Summit Jan '15 - Scaling Uber from 1 to 100s of Se...
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Deploying Ruby/Sinatra at Rent the Runway - Next Dev StackUp,May 6, 2014
Redmineと自分のそのころ
Redmineと自分のそのころ
Reactive Xamarin. UA Mobile 2016.
Reactive Xamarin. UA Mobile 2016.
ATLRUG Giveback Announcements - Oct. 2014
ATLRUG Giveback Announcements - Oct. 2014
Automating microservices: what, where and when
Automating microservices: what, where and when
超カジュアルに使うMySQL @ MySQL Casual Talks #2
超カジュアルに使うMySQL @ MySQL Casual Talks #2
Rails I18n From The Trenches
Rails I18n From The Trenches
Why I don’t want to develop iOS apps in Objective C
Why I don’t want to develop iOS apps in Objective C
Upgrading to rails3
Upgrading to rails3
Atlrug giveback-2015-aug
Atlrug giveback-2015-aug
Scaling Uber's Real-time Market Platform
Scaling Uber's Real-time Market Platform
Similar to Sinatraで触れる生SQL
Impression of Rails 3
Impression of Rails 3
Kosuke Matsuda
The Architecture of PicCollage Server
The Architecture of PicCollage Server
Lin Jen-Shin
遇見 Ruby on Rails
遇見 Ruby on Rails
Wen-Tien Chang
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
暁 三宅
mastodon API
mastodon API
treby
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
Tim Y
グラフデータベース Neptune 使ってみた
グラフデータベース Neptune 使ってみた
Yoshiyasu SAEKI
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
Night Sailer
Railsチュートリアルの歩き方 (第4版)
Railsチュートリアルの歩き方 (第4版)
Yohei Yasukawa
Event machine
Event machine
almeidaricardo
Octocatは技術的負債の夢を見るか?
Octocatは技術的負債の夢を見るか?
treby
Railsチュートリアルの歩き方 (第3版)
Railsチュートリアルの歩き方 (第3版)
Yohei Yasukawa
MongoDB开发应用实践
MongoDB开发应用实践
iammutex
Node.js server side render in the Age of APIs - Full Stack Toronto 2017
Node.js server side render in the Age of APIs - Full Stack Toronto 2017
Ruy Adorno
Ruby on Rails : 簡介與入門
Ruby on Rails : 簡介與入門
Wen-Tien Chang
reading suture
reading suture
treby
Railsで作るBFFの功罪
Railsで作るBFFの功罪
Recruit Lifestyle Co., Ltd.
[.Net开发交流会][2010.06.19]better framework better life(吕国宁)
[.Net开发交流会][2010.06.19]better framework better life(吕国宁)
Shanda innovation institute
Better Framework Better Life
Better Framework Better Life
jeffz
Rails 3.1
Rails 3.1
Lori Olson
Similar to Sinatraで触れる生SQL
(20)
Impression of Rails 3
Impression of Rails 3
The Architecture of PicCollage Server
The Architecture of PicCollage Server
遇見 Ruby on Rails
遇見 Ruby on Rails
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
Angular2 + AWS Lambdaでサーバサイドレンダリングしてみた
mastodon API
mastodon API
High Performance Weibo QCon Beijing 2011
High Performance Weibo QCon Beijing 2011
グラフデータベース Neptune 使ってみた
グラフデータベース Neptune 使ってみた
视觉中国的MongoDB应用实践(QConBeijing2011)
视觉中国的MongoDB应用实践(QConBeijing2011)
Railsチュートリアルの歩き方 (第4版)
Railsチュートリアルの歩き方 (第4版)
Event machine
Event machine
Octocatは技術的負債の夢を見るか?
Octocatは技術的負債の夢を見るか?
Railsチュートリアルの歩き方 (第3版)
Railsチュートリアルの歩き方 (第3版)
MongoDB开发应用实践
MongoDB开发应用实践
Node.js server side render in the Age of APIs - Full Stack Toronto 2017
Node.js server side render in the Age of APIs - Full Stack Toronto 2017
Ruby on Rails : 簡介與入門
Ruby on Rails : 簡介與入門
reading suture
reading suture
Railsで作るBFFの功罪
Railsで作るBFFの功罪
[.Net开发交流会][2010.06.19]better framework better life(吕国宁)
[.Net开发交流会][2010.06.19]better framework better life(吕国宁)
Better Framework Better Life
Better Framework Better Life
Rails 3.1
Rails 3.1
More from treby
失敗から学ぶEM方法論
失敗から学ぶEM方法論
treby
モダンJSでモダンなWebアプリケーションを作ろう!
モダンJSでモダンなWebアプリケーションを作ろう!
treby
Shinjuku.rb #61 RubyKaigi2018予習
Shinjuku.rb #61 RubyKaigi2018予習
treby
The Art of Collaboration
The Art of Collaboration
treby
楽しく学ぶ?API
楽しく学ぶ?API
treby
VueとdockerとAWSとチームとアイマスと私
VueとdockerとAWSとチームとアイマスと私
treby
アイマスハッカソン2017
アイマスハッカソン2017
treby
最近のRailsフロントエンド開発の紹介
最近のRailsフロントエンド開発の紹介
treby
たたかうFFI
たたかうFFI
treby
TH@NK YOU for SMILE!!とミリオンボーダーbot
TH@NK YOU for SMILE!!とミリオンボーダーbot
treby
Paperclip
Paperclip
treby
このみさんにPRしてもらう
このみさんにPRしてもらう
treby
趣味から始めるWebスクレイピング
趣味から始めるWebスクレイピング
treby
Osoji to-ban bot
Osoji to-ban bot
treby
Why do I make bots
Why do I make bots
treby
BELIEVE MY DRE@M!!とミリオンボーダーbot
BELIEVE MY DRE@M!!とミリオンボーダーbot
treby
アイマス駆動開発 #shinjukurb
アイマス駆動開発 #shinjukurb
treby
Heroku Buttonの紹介
Heroku Buttonの紹介
treby
ENJOY H@RMONY!!とボーダーbot
ENJOY H@RMONY!!とボーダーbot
treby
Hubotで遊ぶ
Hubotで遊ぶ
treby
More from treby
(20)
失敗から学ぶEM方法論
失敗から学ぶEM方法論
モダンJSでモダンなWebアプリケーションを作ろう!
モダンJSでモダンなWebアプリケーションを作ろう!
Shinjuku.rb #61 RubyKaigi2018予習
Shinjuku.rb #61 RubyKaigi2018予習
The Art of Collaboration
The Art of Collaboration
楽しく学ぶ?API
楽しく学ぶ?API
VueとdockerとAWSとチームとアイマスと私
VueとdockerとAWSとチームとアイマスと私
アイマスハッカソン2017
アイマスハッカソン2017
最近のRailsフロントエンド開発の紹介
最近のRailsフロントエンド開発の紹介
たたかうFFI
たたかうFFI
TH@NK YOU for SMILE!!とミリオンボーダーbot
TH@NK YOU for SMILE!!とミリオンボーダーbot
Paperclip
Paperclip
このみさんにPRしてもらう
このみさんにPRしてもらう
趣味から始めるWebスクレイピング
趣味から始めるWebスクレイピング
Osoji to-ban bot
Osoji to-ban bot
Why do I make bots
Why do I make bots
BELIEVE MY DRE@M!!とミリオンボーダーbot
BELIEVE MY DRE@M!!とミリオンボーダーbot
アイマス駆動開発 #shinjukurb
アイマス駆動開発 #shinjukurb
Heroku Buttonの紹介
Heroku Buttonの紹介
ENJOY H@RMONY!!とボーダーbot
ENJOY H@RMONY!!とボーダーbot
Hubotで遊ぶ
Hubotで遊ぶ
Recently uploaded
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Mattias Andersson
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Zilliz
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
Recently uploaded
(20)
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
Sinatraで触れる生SQL
1.
Sinatra SQL 2017/11/22 Shinjuku.rb #55 @treby006
2.
• treby (
@treby006 ) • Shinjuku.rb • : Enumerable#each_with_object •
3.
• Repro Software
Engineer • Rails :) • • jQuery → Vue component • ALB target group • PO
4.
• 1
5.
• 12/16( )
@ • https://imas.connpass.com/event/70592/
6.
• ISUCON Ruby Sinatra
Web
7.
IM@Square •
8.
• ISUCON Ruby Sinatra
Web • https://github.com/imas/imasquare
9.
ISUCON • Iikanjini Speed
Up CONtest • Web (8 ) • • Ruby, Python, PHP, Perl, Go… • Ruby Sinatra
10.
• • Rails • • capistrano
deploy • docker • ridgepole migration • ( )
11.
• MySQL App •
(ALB ) ( ) nginx, unicorn, mysql
12.
gem • sinatra (
) • capistrano ( ) • mysql2, mysql2-cs-bind ( ) • ridgepole (migration) • redcarpet (markdown) • omniauth, omniauth-slack (slack ) • pry ( )
13.
14.
• • XSS •
15.
SQL
16.
SQL • mysql2 gem
query Hash /SELECT • fetch • typo -> (^o^) • SELECT column ->
17.
400 app.rb • •
18.
400 app.rb • Web • • •
→
19.
…… • • sinatra simple
DSL
20.
• • Rails • Rails
21.
• https://imasquare.treby.info/ • • WebPage
Test
22.
Rails : 3.469s
23.
dev.to : 2.517s
24.
imasquare: 1.845s
25.
: 0.381s
26.
• • • • • ( ) • Ruby
Rails ( )