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 Bootcamp [Sesión 01]
Search
A. Felipe Cabargas Madrid
April 30, 2016
Programming
0
61
Rails Bootcamp [Sesión 01]
A. Felipe Cabargas Madrid
April 30, 2016
Tweet
Share
More Decks by A. Felipe Cabargas Madrid
See All by A. Felipe Cabargas Madrid
Layers Layers Layers
felipecabargas
0
55
Accesibilidad Web: Que, como, cuando y por que?
felipecabargas
0
25
Untangling git
felipecabargas
0
59
Docker 101
felipecabargas
1
79
GroupRaise Learning Fridays: UX 101
felipecabargas
0
95
GroupRaise Learning Fridays: Hows and whys of version control
felipecabargas
0
48
Sesion III - Taller RoR LCC
felipecabargas
0
80
Sesion II - Taller RoR LCC
felipecabargas
0
120
Taller RoR LCC
felipecabargas
0
130
Other Decks in Programming
See All in Programming
dynamic!
moro
10
7.2k
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
150
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
350
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.2k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
280
高度なUI/UXこそHotwireで作ろう Kaigi on Rails 2025
naofumi
4
3.8k
CSC305 Lecture 02
javiergs
PRO
1
270
CSC305 Lecture 03
javiergs
PRO
0
240
チームの境界をブチ抜いていけ
tokai235
0
160
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
8
1.6k
CSC509 Lecture 04
javiergs
PRO
0
300
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
200
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Balancing Empowerment & Direction
lara
4
680
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Optimizing for Happiness
mojombo
379
70k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
The Cult of Friendly URLs
andyhume
79
6.6k
How to Ace a Technical Interview
jacobian
280
24k
Transcript
RAILS BOOTCAMP 30 ABRIL 2016
FELIPE CABARGAS M. Service Engineer @ GitLab @juanpintoduran cabargas.com gitlab.com/cabargas
RUBY?
ruby != rails
None
RUBY IS DESIGNED TO MAKE PROGRAMMERS HAPPY ~ MATZ
None
RAILS BOOTCAMP! RUBY? ▸ NO fuertemente tipado. ▸ O.O.P. ▸
Principio de la menor sorpresa. ▸ Soluciones aburridas. ▸ M.I.N.S.W.A.N.: Matz is Nice So We Are Nice
YA PERO… RUBY?
foo este_es_un_identificador
$variable_global
@variable_de_instancia
CONSTANTE
# este es un comentario
=begin esto es documentación multi línea =end
“este es un string” *
“así se reemplazan #{variables}"
puts “String”
self nil true false
array = [1, 2, 3]
hash = {a: 1, b: 2, c: 3}
&& ||
1..20
CICLOS EN RUBY
if condicion then # ordenes elsif # ordenes else #
ordenes end
unless condicion # ordenes else # ordenes end
case variable when rango/valor # ordenes when rango/valor # ordenes
else # ordenes end
while condicion # ordenes end
until condicion # ordenes end
for variable in rango # ordenes end
(1..20).each do |variable| # ordenes end
def nombre_funcion argumentos # ordenes end nombre_funcion(argumentos)
AHORA, COSAS “CHÉVERES”
foo, bar = [1, 2] asignación múltiple
if true then true else false end instrucciones de 1-línea
condicion ? si_se_cumple : si_no_se_cumple instrucciones de 1-línea