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
Hello Rails and more
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
wtnabe
October 17, 2015
Programming
460
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Hello Rails and more
Kanazawa.rb meetup #38 Rails ハンズオン初級編のイントロ
wtnabe
October 17, 2015
More Decks by wtnabe
See All by wtnabe
新しいフロントプロセスとドキュメントフォーマットを考えてみた
wtnabe
0
51
Rubyでもモノリポしたい - 調査、おさわり編 -
wtnabe
0
80
Ruby de Railway Oriented Programming
wtnabe
0
130
Bindanのススメ
wtnabe
0
76
そのオブジェクト、何を保証してくれますか? - GuideRailのススメ -
wtnabe
0
84
Effective Jekyll
wtnabe
0
110
5 min Jekyll/Liquid Plugin cooking
wtnabe
0
75
Ruby de Wasm
wtnabe
0
110
Cloud Native Buildpacksって結局どうなの?
wtnabe
0
93
Other Decks in Programming
See All in Programming
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
APNsからLive Activityを開始する話
yumnumm
0
170
SREの越境 / SRE Collaboration
y0hgi
2
310
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
450
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.1k
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
120
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
Featured
See All Featured
Building an army of robots
kneath
307
47k
The Limits of Empathy - UXLibs8
cassininazir
2
720
Test your architecture with Archunit
thirion
2
2.4k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
Are puppies a ranking factor?
jonoalderson
2
4.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
We Have a Design System, Now What?
morganepeng
55
8.4k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
940
A Tale of Four Properties
chriscoyier
163
24k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Transcript
Railsハンズオン初級編 Rails的なモダン開発の本当のよさを知り体験しよう @wtnabe Kanazawa.rb meetup #38 2015-10-17 (Sat) at DMM.com
Labo
お品書き Railsの10年と周辺の歩み Railsの特⻑と活かし⽅ 今⽇の内容
Railsの10年と周辺の歩み
2004 Gmail / PHP 5.0 2004 first public release of
Rails 2005 GoogleMaps 2005 Rails 1.0 ( including Prototype.js ) 2005 Selenium RC 2005 Hudson ( Jenkins )
2006 Capistrano 2006 AWS S3 and EC2 ( beta )
2006 jQuery 2006 Sass 2007 Rack ( WSGI Ruby port ) 2008 Github ( Rails moved to )
2009 Bundler 2009 Ruby 1.9.1 2009 CoffeeScript 2010 Rails 2.3
( Rack / Bundler ) 2010 Rails 3.0 ( merged Merb ) 2010 Backbone.js
2010 Scss 2011 Rails 3.1 ( AssetPipeline ) 2011 Heroku
Procfile 2012 Travis CI 2013 Ruby 2.1.0 / Rails 4.0 2014 Ruby 2.2.0 / EOL of 1.8.7, 1.9.2
MVCとDB migration
Capistranoによるdeployの⾃動化
Bundlerによる依存性解決
Asset管理 ( precompile & reduce http connections )
CIからの⾃動deploy
Rails Leads ... DRY & CoC DB migration ⾃動deploy (
Capistrano ) 依存性解決 ( Bundler ) PaaS ( Heroku, ... ) Asset管理 ( CoffeeScript, Sass, ... )
いま分からなくても平気
知ってると他の⾔語でも だいたい役に⽴ちます
イマドキだいたい モダンなWeb開発は こんな感じ
Railsの特⻑と活かし⽅
Railsの特⻑ ⼤事なことだけに集中しよう 設定を減らす 同じこと何度も書かない ⾃動化 よさそうなものは取り⼊れよう ダメならやめよう アジリティ
Railsの活かし⽅ Rails is omakase (DHH) 独⾃の技を編み出さない みんな合わせてるからこその便利gems
確かに最初は 覚えるべきお約束は多い
だから今⽇は ちょっとだけやります
何度もおさらいしてね
Railsがいちばん真価を 発揮するのはver.1を とにかく早く出す時 (最⼩限のコードで)
雑に書くのではなく アリモノを上⼿に活かして スピードを上げる
コードは少ないほど 変化のスピードを保てる
⼤事なのは 変化のスピードを 落とさないこと
※ 私⾒です
今⽇の内容
対象 動的なWebアプリの全体的な仕組みにつ いて、ある程度の理解がある⼈ 何らかのサーバサイドプログラミングの 経験が少しでもある⼈ RailsやRails-inspiredなモダンなフレー ムワークを使いこなし、考え⽅を理解し たい⼈
ゴール モダンWeb開発の考え⽅、ワークフロー を理解する scaffold + alpha で Model 2つ、 association
1つの ToDo アプリを動かす
やらないこと 本番環境へのdeploy
作るもの ToDo アプリのひな形のようなもの 1 : n 関係の Model を操作する画⾯ 応⽤課題
やること generator ( scaffold ) rails server / console partial
template db migration association
多めにやります 説明 質疑 ハンズオンとはなんだったのか?
Let's Begin !