Sessions at RailsConf 2011 with slides

Your current filters are…

Tuesday 17th May 2011

  • The Asset Pipeline and our Post-Modern, Hybrid, JavaScript Future

    by DHH

    David Heinemeier Hansson’s Keynote.

    At 9:15am to 9:15am, Tuesday 17th May

  • Fat Models Aren't Enough

    by Jeff Casimir

    “Fat Models, Skinny Controllers” they scream. Pushing your logic down to the model layer is a key step to improve testability, maintainability, and code quality. But many developers now have “junk drawer” models that don’t realize these goals. Having a fat model isn’t enough!

    In this session we’ll explore techniques for improving your models including:

    • Extracting code into libraries and gems
    • Encapsulating logic into processor objects
    • Using the presenter pattern
    • Deciding between class and instance methods
    • Guidelines to judge code quality and complexity

    When you leave this session you’ll be dying to refactor!

    At 10:45am to 11:45am, Tuesday 17th May

    Coverage slide deck

  • Confident Code

    by Avdi Grimm

    Are your methods timid? Do they constantly second-guess themselves, checking for nil values, errors, and unexpected input?

    Even the cleanest Ruby codebases can become littered over time with nil checks, error handling, and other interruptions which steal attention away from the essential purpose of the code. This talk will discuss strategies for writing your Ruby classes and methods in a confident, straightforward style; without sacrificing functionality or robustness. In the process, we’ll cover concepts and techniques including:

    • The narrative style of method construction
    • The four parts of a method
    • Three strategies for dealing with uncertain input
    • Massaging input with coercion and the Decorator pattern
    • Lightweight preconditions
    • Exterminating nils from your code
    • The chaining and iterative styles of method construction
    • Eliminating conditionals with the Special Case and Null Object patterns
    • Isolating errors with the Bouncer and Checked Method patterns

    At 2:50pm to 2:50pm, Tuesday 17th May

    Coverage slide deck

  • Why Rails Makes Startups

    by Eric Ries

    At 7:00pm to 7:30pm, Tuesday 17th May

Wednesday 18th May 2011

  • Ruby Through the Ages (or, A Brief History of Ruby)

    by Dr Nic

    Join Dr. Nic Williams for a whimsical journey through the rich history of our favorite programming language. Ruby has come quite the distance from being a language that was designed by Matz to be “more powerful than Perl, and more object-oriented than Python”.

    He’ll take us through the storied evolution of Ruby before addressing the future—What will your investments of time and talent yield? Why Rubinius? Why JRuby? Why YARV? Get the answers to these questions and more with the characteristic cheek you’d expect from a man who once wore a tutu on stage.

    At 9:15am to 9:15am, Wednesday 18th May

  • Double Dream Hands: So Intense!

    by Aaron Patterson

    In this talk Señor Engineer Aaron Patterson will talk about the adventures he’s had over the past year. Topics will include (but are not limited to), ARel, ActiveRecord, ActionPack, Code Refactoring, and Sausage. Though these topics may go their separate ways, they are not worlds apart. Attendance is required as there will be homework assigned.

    At 9:30am to 9:30am, Wednesday 18th May

Thursday 19th May 2011