Slide 1

Slide 1 text

Amelia Bedelia Learns to Code Kylie Stradley Rails Conf 2015-Atlanta, GA

Slide 2

Slide 2 text

Welcome to Atlanta

Slide 3

Slide 3 text

@kyfast

Slide 4

Slide 4 text

Meet Amelia Bedelia Illustration from: “Calling Doctor Amelia Bedelia”

Slide 5

Slide 5 text

Sound Familiar?

Slide 6

Slide 6 text

Amelia the Developer Illustration from: “Amelia Bedelia, Bookworm”

Slide 7

Slide 7 text

Amelia Saves the Day Illustration from: “Merry Christmas, Amelia Bedelia”

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Amelia Bedelia Learns to Code by: Kylie Stradley illustrations by: San Smith inspired by: Peggy & Herman Parish

Slide 10

Slide 10 text

01101000 01101001 Nice to meet you :] “Talking to a computer? That sounds like fun!”

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

“_WHY Ruby? _WHY not Ruby?”

Slide 13

Slide 13 text

“This Ruby on Rails stuff is easy!”

Slide 14

Slide 14 text

So what does Amelia do?

Slide 15

Slide 15 text

Amelia edits the db/schema.rb

Slide 16

Slide 16 text

Oh no!

Slide 17

Slide 17 text

the Rails Scaffold covers most things

Slide 18

Slide 18 text

So what does Amelia do?

Slide 19

Slide 19 text

Amelia uses Rails Scaffold for everything

Slide 20

Slide 20 text

!!!!!! Got it!

Slide 21

Slide 21 text

I want to write Rails like the designers intended

Slide 22

Slide 22 text

So what does Amelia do?

Slide 23

Slide 23 text

Writing Rails like DHH would

Slide 24

Slide 24 text

!!!!!! Got it!

Slide 25

Slide 25 text

“I need to make a lot of routes”

Slide 26

Slide 26 text

So what does Amelia do?

Slide 27

Slide 27 text

Amelia rakes the routes

Slide 28

Slide 28 text

rake != activate routes != migrations

Slide 29

Slide 29 text

“These gems are pretty handy!”

Slide 30

Slide 30 text

So what does Amelia do?

Slide 31

Slide 31 text

Carrie & Fred say, “Put a gem on it!”

Slide 32

Slide 32 text

Not so fast! Got it!

Slide 33

Slide 33 text

“I know what do with params in a Rails app”

Slide 34

Slide 34 text

So what does Amelia do?

Slide 35

Slide 35 text

Amelia adds the value to the params hash

Slide 36

Slide 36 text

parameters != params oops!

Slide 37

Slide 37 text

“I’ve made that mistake with dates before too”

Slide 38

Slide 38 text

So what does Amelia do?

Slide 39

Slide 39 text

Amelia uses DateTime when she needs dates, even for cakes!

Slide 40

Slide 40 text

The End

Slide 41

Slide 41 text

that’s not really how it is though

Slide 42

Slide 42 text

it’s more like this:

Slide 43

Slide 43 text

WAT

Slide 44

Slide 44 text

these things happen

Slide 45

Slide 45 text

beginners make a lot of mistakes

Slide 46

Slide 46 text

and that’s okay

Slide 47

Slide 47 text

advanced developers make a lot of mistakes

Slide 48

Slide 48 text

and that’s okay, too

Slide 49

Slide 49 text

a place that’s safe to make mistakes is a place that’s safe to learn

Slide 50

Slide 50 text

Illustrations by: San Smith san-smith.com

Slide 51

Slide 51 text

Kylie Farrah Stradley @kyfast kyfast.net