Showing 543 videos

Railscast #204 - XSS Protection in Rails 3

00:08:56 railscasts.com
It is easy to be vulnerable to cross site scripting attacks in earlier versions of Rails, but Rails 3 solves this by automatically escaping unsafe input.
Tags:

Use The Cucumber

01:12:00 peepcode.com
The Cucumber behavior-driven development framework is appreciated by developers from many languages. It makes it easy to write plain-text stories that run executable Ruby code against your application. In this hour and ten minute screencast, you’ll learn the basics of Cucumber. You’ll learn the syntax, organization, and philosophy of writing Features, Scenarios, and Steps. You’ll build an application and learn where unit tests are a better fit. The PeepCode series on RSpec kicked off ou... View More

Gem Bundler

Loading multiple Ruby Gems can result in runtime errors when an incompatible version of a gem dependency is already loaded as a dependency of another gem. Gem bundler can also pre-load and cache gems for faster loading.
Tags:

Railscasts #203 - Routing in Rails 3

00:13:31 railscasts.com
Rails 3 sports a new routing interface. In this episode I show how to translate the old interface into the new one and show off a few new features.
Tags:

Railscasts #202 - Active Record Queries in Rails 3

00:10:43 railscasts.com
Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes.

Ruby Essentials - Strings, Arrays and Hashes

Great screencast introduction to three main Ruby Classes: String, Array, and Hash.
Tags:

Rails Metrics: know what is happening inside your Rails 3 application

RailsMetrics is a new Rails engine which stores everything that is happening inside your application in the database, so you can profile each request, besides creating charts, statistics and extract useful information.
Tags:

Python vs. Ruby: A Battle to The Death

At Northwest Python Day 2010 on January 30th, I gave two talks; this is the second, which was the last talk of the day. I tuned it to its audience and time slot, making it biased toward an audience that already knows Python, as well as being lighter than originally intended. I still quite like the result. During my talk, I mention Ruby.rewrite(Ruby), a talk by Reg Braithwithe. I recommend it. It also happens to contain my favorite quote from any talk, ever, which I will not repeat here. Yo... View More
Tags:

On the Edge of Rails Performance

Earlier this year Gregg released a series of screencasts showing that Rails indeed ships with many of the tools that you need to scale your application. Since then more Rails applications have gone into production, additional techniques have been developed for optimizing performance, and more open source libraries have been published. In this talk he will first give a quick introduction for those just getting their feet wet with optimizing Rails applications. However, the majority of the talk... View More

Worst. Ideas. Ever.

This is a presentation of the Worst Ideas Ever. But this is not just another "worst practices" presentation with random code samples. This presentation is about ideas that were specially engineered to be bad. This is not about bad coding practices, but about projects that never should have seen the light of day. "Bad" is not the correct term for the software being presented. "Abominations" is a more accurate description. "Software perversions" might be even more accurate. Do not try to ... View More