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
Rails 快速上手攻略(Rails Getting Started)
Search
Minqi Pan
September 03, 2014
Programming
2
270
Rails 快速上手攻略(Rails Getting Started)
Minqi Pan
September 03, 2014
Tweet
Share
More Decks by Minqi Pan
See All by Minqi Pan
RubyConf 2017: Packing your Ruby application into a single executable
pmq20
1
660
Node 8 and Friends
pmq20
0
230
Moving Node.js and nodec to v8 Ignition
pmq20
0
350
QCon 2017 Beijing Observations
pmq20
0
260
Node.js Compiler: compiling your Node.js application into a single executable
pmq20
5
25k
Enclose.IO: current cutting-edges and the future work
pmq20
0
230
环境变量为何能让 Ruby 快十倍
pmq20
3
750
Introductions to Node.js internals
pmq20
0
2.1k
How we scaled GitLab for a 30k-employee company
pmq20
6
1.6k
Other Decks in Programming
See All in Programming
ruby.wasmで多人数リアルタイム通信ゲームを作ろう
lnit
3
440
なぜ適用するか、移行して理解するClean Architecture 〜構造を超えて設計を継承する〜 / Why Apply, Migrate and Understand Clean Architecture - Inherit Design Beyond Structure
seike460
PRO
3
750
Blazing Fast UI Development with Compose Hot Reload (droidcon New York 2025)
zsmb
1
280
Hypervel - A Coroutine Framework for Laravel Artisans
albertcht
1
110
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
780
ふつうの技術スタックでアート作品を作ってみる
akira888
0
450
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
120
#QiitaBash MCPのセキュリティ
ryosukedtomita
0
960
datadog dash 2025 LLM observability for reliability and stability
ivry_presentationmaterials
0
450
AIコーディング道場勉強会#2 君(エンジニア)たちはどう生きるか
misakiotb
1
290
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
500
C++20 射影変換
faithandbrave
0
570
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Faster Mobile Websites
deanohume
307
31k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
What's in a price? How to price your products and services
michaelherold
246
12k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Facilitating Awesome Meetings
lara
54
6.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
960
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
A Tale of Four Properties
chriscoyier
160
23k
Into the Great Unknown - MozCon
thekraken
39
1.9k
Transcript
������快速上⼿攻略 ������快速上⼿攻略 潘旻琦�孝��
⽇程安排 ������核⼼技� ���分��建博客演⽰ 深⼊学�路��
������核⼼技� 模型:������������� ��:����������� 控制器:����������������� 路由:���������������
������核⼼技� �助:�������������� �件:������������� 前端:��������� 第三⽅�展包
开始之前的提��� 安装有没有��? �建�目有没有��? �建的目���看�了�?
������������� �象关系映射 数据�迁移 数据校� �象⽣命周期管理 �象关�管理 数据��
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
猜⼀猜 � 猜⼀猜 ���� 猜⼀猜
�象关系映射 类名 表名 ���� ����� �������� ���������� ����� ���� ���
���� � �� ���� ��
特殊字段 ��、���� ����������、���������� ������������ ����、������ ������� 保留字(�����������������������)
���� ���、������、������� ���、����、������、����� ������、����������、���������������� �������、������
数据�迁移 ���������������������������������������������� ������������ ��������������������������������� �������������������� ������������������������� ������������������ ������� ����� ���
数据�迁移 ��������������������������������������������������� �������� ��������������������������������� ������������������������������ ������� ����� ���������� ��������������������������������� �������������������������������
������� ����� ���
数据�迁移 �������������������������������� ����������������������� �������������������������������� ������������������������������������������ �������������������������������� ������������������������������������������������ ���������������������� �����������������������������
数据�迁移 ����������������������������� ������������������������������������������� ��������������������������������� ����������������������������������� ������������������������������������ ������ ����������������������������������������� ���������������������������������
数据校� ������������������������������� ��������������������������������������� ��������������������������� ���������������������������������������� ��������������������������������������� ���������������������������������� ������������������������������������������ ������������������������������������� ���������������������������������������������
���������������������������
�象⽣命周期管理 ������������������������������� ������������������������������������������ ��������������������������������������������� ����������� �������������������������������� ������������������� ���������������������������������������������� ��������� �������
���
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� ���������������� ���������
�象⽣命周期管理���� ����������������� ���������������� ����������� ����������� ������������� ������������� ������������ ����������
�象⽣命周期管理���� �������������� �������������� �������������
�象关�管理 ���������� ������� �������� ����������������� ���������������� �����������������������
数据�� ������������������������ ������������������������������������������������������� ����������������������� ������������������������������� ��������������������� ������������������������������������������������������� �������������������� ��������������������������������������������������������
数据�� ��������� ��������������������������������� ����������������������������� ������������������������������ �������������������������� ������������� ���������������������������������� ������������������������������ ��������������������������
�����������������������������
数据�� ��������������������������������� ����������������������������� ��������������� ������������� ���������������������������������� ������������������������������ �������������������������� �����������������������������
����������� ���������������� ��主模板���部分模板 ��������������������� ��������
��� �������������������������������� ������������������������������ ������������������������������ ���������
�������� ��������������������������������������������� ����������������������������������������� ������������������������������������������������������ ����������������������������������������������������� ����������������������������������� ������������������������������ ���
主模板���部分模板 �������������������� ��������������������������� ������������������������������������������� ��������������������������������� �������������������������������� ����������������������������������� ���������
������������������� ������ �������� ��������������������������� �������������������������������� ��������� �������� �������������������������������������������������������� ��������� �������
������������������� ������������������������������ ������������������������������������ ���������������������������������� ���������
������ ��������������������������������������������
������ �������������� �������������������������������� �������������������������������� ������������������������������������������ ����� ���
������ ������������������������������������������� ����� ���������
������ ������������������������������ ������������������������������������������ ���������������������������������� ��������������������������������������������������� ��������������������� ������������������������������������ ������������������������������������������������� ����� ���
����������������� �求参数�理 ��器 渲染管理 会�管理
�求参数�理 ������������������������� ��������������������������� ����������� ������������������������������������� ��������������������������������� �������� ����������������������������������� ������� �����
���
��器 ����������������������������� ���������������������������� ������������������������������ ��������� ������������������� ��������������������� ������������������������������������������ ������������������������������� �������
����� ���
渲染管理 ����������������������� ��������������������������� ����������� ��������������������� �������������������������� ���������������������������������� ��������������������������������������� ���������������������������������������� �������
����� ���
会�管理 ��������������������������������������������� �������������������������������� ������������������������������������������ ������������������������������������������ ������������������������ �
��������������� �源路由 非�源路由
�源路由 ������������������⽣成: ��� ������� ������������ ��� ����������� ���������� ���� �������
������������� ��� ����������� ����������� ��� ���������������� ����������� ��������� ����������� ������������� ������ ����������� ��������������
�源路由 �������������������� ��������������� ���������������� ����� �� ����������� ����������������� ����� ���
非�源路由 ��������������������������������� �������������������������������������� ������������������������������������������������ ����������������������������������� ����������������������������������������������� �������������������������������������������� ���������������������
�������������� ���������������������������������� ������������������������������������������ ����� ���
�������������� �������������������������������������������� ��������������������������� ����������������������������� ������������������ ����������������������������������������������� ����������������������������������� ������������������������������
������������� ������������������������������������� ������������������������������������������� ������������������������� ���������������� �������������������������������������� ������������������������� ������������������������������� ����� ���
������������� ���������������������� ����������������������
������������� ���������������������������������������
��������� 静�⽂件���� 清�⽂件�� ��与部署
静�⽂件���� ����������� ����������� �������������
清�⽂件�� ������ ������������������ ���������������������� ������������������
清�⽂件�� 例如: ������������������������������ ������������������������������������ ����������������������������������� �������������������������������������
清�⽂件�� ���������������� ���������������������� ������������������ ��������������������
��与部署 ������������������������������� ������������������������������ ����������������� ��成例如 �������������������������������������� 更改�����������������������������������
第三⽅�展包 分�:�������� 用���:������ 用�授权:������ 上�:���������
第三⽅�展包 后台任�:������� 全⽂搜索:������� ����:��������� 性能��:�����������������
第三⽅�展包 代�⾼亮:������� �控:��� 服�器:���� �作流:���������������
���分��建博客演⽰ ����
深⼊学�路��:⼊门 学�������������:������������������������������ 看�����������������������的��教程 看�《�用��������⾏敏捷�����开�》 ���������写的《��������������實戰聖經》 �《����������������������》:������� ��������������������������
深⼊学�路��:�� ��《������������������������������》了解社区 ⽂化 用�������开�⼀个完整的�目 ��《������格指�》和《�������格指�》 用��������������������:��������������������������� 上������������参与��:�����������������������
深⼊学�路��:⾼� ��⼯程、�展包、框架三类�目的源代� �⼯程�目提交代�,如����������� ��展包�目提交代�,如������� ��������框架提交代� 加⼊����������������