My first conference talk. Originally given as part of the beginner track at Rails Conf 2015 in Atlanta, GA.
Amelia Bedelia Learns to CodeKylie StradleyRails Conf 2015-Atlanta, GA
View Slide
Welcome to Atlanta
@kyfast
Meet Amelia BedeliaIllustration from: “Calling Doctor Amelia Bedelia”
Sound Familiar?
Amelia the DeveloperIllustration from: “Amelia Bedelia, Bookworm”
Amelia Saves the DayIllustration from: “Merry Christmas, Amelia Bedelia”
Amelia Bedelia Learns to Codeby: Kylie Stradleyillustrations by: San Smithinspired by: Peggy & Herman Parish
0110100001101001Nice tomeetyou :]“Talking to a computer? That sounds like fun!”
“_WHY Ruby? _WHY not Ruby?”
“This Ruby on Rails stuff is easy!”
So what does Amelia do?
Amelia edits the db/schema.rb
Oh no!
the Rails Scaffold covers most things
Amelia uses Rails Scaffold for everything
!!!!!!Got it!
I want to write Rails like the designers intended
Writing Rails like DHH would
“I need to make a lot of routes”
Amelia rakes the routes
rake!=activateroutes!=migrations
“These gems are pretty handy!”
Carrie & Fred say, “Put a gem on it!”
Not sofast! Got it!
“I know what do with params in a Rails app”
Amelia adds the value to the params hash
parameters!= paramsoops!
“I’ve made that mistake with dates before too”
Amelia uses DateTime when she needs dates, even for cakes!
The End
that’s not really how it is though
it’s more like this:
WAT
these things happen
beginners make a lot of mistakes
and that’s okay
advanced developers make a lot of mistakes
and that’s okay, too
a place that’s safe to make mistakes is aplace that’s safe to learn
Illustrations by:San Smithsan-smith.com
Kylie Farrah Stradley@kyfastkyfast.net