Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Sessions at RailsConf 2012 in Room 616

Your current filters are…

Monday 23rd April 2012

  • Rails for Zombies (AKA Intro to Rails - Part 1)

    by Gregg Pollack

    Do you need to start learning Ruby on Rails? In this morning tutorial the Envy Labs team will lead you through all five labs of their Rails for Zombies course. Unlike other tutorials, all you need to start coding Rails is a laptop with Wi-Fi and a browser which isn’t Internet Explorer. All coding will be done through our web application, and there will be plenty of lab assistants to help you if you get stuck along the way. Before you come to the course we recommend you play through http://www.tryruby.org/. It’s an in-browser Ruby tutorial.

    Topics Covered:

    • Basic ActiveRecord CRUD
    • Models, Validations, has_many, belongs_to
    • Views, ERB, Loops
    • Controllers, before filter
    • Basic Routing

    At 10:30am to 2:30pm, Monday 23rd April

    In Room 616, Hilton Austin Downtown

  • ActiveSupport and ActiveModel

    by Bryan Liles

    Have you ever wondered what makes Rails tick? Bryan Liles will cover two of the pillars of the Rails foundation: ActiveSupport and ActiveModel. Together we will discover where some of Rails’ ease and power originates and how make use of it in your projects.

    At 2:30pm to 3:00pm, Monday 23rd April

    In Room 616, Hilton Austin Downtown

    Coverage note video

  • Rails-flavored Ruby

    by Michael Hartl

    Based on Chapter 4 of the Ruby on Rails Tutorial by Michael Hartl, “Rails-flavored Ruby” covers the aspects of the Ruby programming language most important for developing Rails applications. Topics include hashes, arrays, and other objects; blocks; functions; and classes.

    At 3:00pm to 3:30pm, Monday 23rd April

    In Room 616, Hilton Austin Downtown

    Coverage note video

  • RVM & Essential Rails Development Tools

    by Olivier Lacan

    Working with Rails often means switching between several Ruby versions back and forth which is made almost seamless by RVM. It also involves several simple command line tools like Pry, Guard, and Pow and that will make your development life so much easier.

    At 4:00pm to 4:30pm, Monday 23rd April

    In Room 616, Hilton Austin Downtown

  • ActiveRecord Scopes and Arel

    by Jacob Swanner

    Scopes are a great way of encapsulating query logic in a granular, reusable way. This talk will cover some techniques you can use to keep those scopes as composable and portable as possible. We’ll cover how to use Arel directly, while avoiding the common practice of using SQL fragments, and show you how this can make your scopes more reusable, while at the same time preventing you from using database vendor specific operators, such as ILIKE.

    At 4:30pm to 5:00pm, Monday 23rd April

    In Room 616, Hilton Austin Downtown

Tuesday 24th April 2012

  • Rails for Zombies 2 (AKA Intro to Rails - Part 2)

    by Gregg Pollack

    Done with Rails for Zombies but can't stop the craving for a second corpse? We’ll pickup where Rails for Zombies 1 leaves off and jump into the topics listed below. All you need to bring is a laptop with Wi-Fi and a browser which isn’t Internet Explorer. All coding will be done through our web application, and there will be plenty of lab assistants to help you if you get stuck along the way.

    Topics covered:

    • How to create a Rails app, the command line, database migrations, the Ruby 1.9 Hash Syntax, Bundler, and Database configuration.
    • Named Scope, Callbacks, Include, has_many, and has_many :through relationships.
    • REST principles, view forms, nested resources, and view partials.
    • Sending email from our Rails app and the Rails 3.1: the Asset Pipeline.
    • Controller rendering options and custom RESTful routes. Design an API with Rails and respond to AJAX requests.

    At 10:30am to 2:30pm, Tuesday 24th April

    In Room 616, Hilton Austin Downtown

  • Basic Rake

    by Jim Weirich

    Anyone who develops with Rails uses the Rake tool all the time. Rake will run your tests, migrate your database, and precompile your assets. But did you know you can define and build your own Rake tasks? This short talk will cover the basics of using Rake and writing simple automation tasks to make your development process smother.

    At 2:30pm to 3:00pm, Tuesday 24th April

    In Room 616, Hilton Austin Downtown

  • How to Find Valuable Gems

    by Nathaniel Bibler

    There’s no need to reinvent the wheel. There are over 30,000 RubyGems available on just RubyGems.org, alone. But with so many out there, it must be impossible to find the right one, right? In this talk we’ll learn about some resources which help you find the right gems, as well as how to intelligently decide if a library is right for your project.

    At 3:00pm to 3:30pm, Tuesday 24th April

    In Room 616, Hilton Austin Downtown

    Coverage video

  • Securing the Rails

    by Aaron Bedra

    Building safe web applications isn’t always easy. The good news is that Rails provides a lot of features that will help you along the way. Aaron will walk you through the common mistakes made by web developers, and how to account for them while working with Rails. He will also walk you through some tools you can use to make securing your applications much much easier.

    At 4:00pm to 4:30pm, Tuesday 24th April

    In Room 616, Hilton Austin Downtown

  • Powerful Interfaces

    by Caike Souza

    In this talk we will explore the best practices in using interfaces as the foundation for designing object oriented applications in Ruby and Rails. We will talk about some of the techniques that make it possible to write loosely coupled components that can be easily extended to respond to requirement changes.

    At 4:30pm to 5:00pm, Tuesday 24th April

    In Room 616, Hilton Austin Downtown

Wednesday 25th April 2012

  • Rails Testing for Zombies

    by Gregg Pollack

    So you’ve got the basics of Rails down, but you haven’t really done any testing. Never fear, this course will lead you through everything you need to know to start testing your Rails apps. All you need to bring is a laptop with Wi-Fi and a browser which isn’t Internet Explorer. All coding will be done through our web application, and there will be plenty of lab assistants to help you if you get stuck along the way.

    Topics Covered
    * Test Unit basics
    * Testing Rails models, using fixtures, and validation testing.
    * Improving our testing code with macros, shoulda basics, and setup/teardown.
    * Mocking and Stubbing with Mocha
    * Testing the whole Rails stack with Capybara Integration tests
    * Using Factory Girl to replace Fixtures

    At 10:30am to 2:30pm, Wednesday 25th April

    In Room 616, Hilton Austin Downtown

    Coverage note

  • Testing Best Practices, or The Five Habits of Highly Effective Tests

    by Noel Rappin

    There’s all kinds of discussion on how to make test processes work, and how to make tests fast, but it sometimes seems like there’s not much discussion on how to make tests useful. What makes a BDD test valuable, in that it will save more time that it will cost in maintenance? I’ll claim that there are five things that you should look for in your tests: independence, repeatability, clarity, conciseness, and robustness. These features will make the tests easier to write, easier to verify, and easier to keep consistent as your application becomes more complicated. You’ll leave this talk ready and able to write great tests.

    At 2:30pm to 3:00pm, Wednesday 25th April

    In Room 616, Hilton Austin Downtown

  • Introduction to RSpec

    by Jon "Lark" Larkowski

    “A testing tool by any other other name would assert as truthy.” – some guy. You’ve seen Rails’ built-in Test::Unit in the morning session. This afternoon, we’ll introduce RSpec, another popular testing tool. We’ll overview basic structure, contexts, “should” expectations, mocking and stubbing. We’ll also cover Rails model, view, controller, routing, helper, and request specs.

    At 3:00pm to 3:30pm, Wednesday 25th April

    In Room 616, Hilton Austin Downtown