Rails Dispatch

Rails news delivered fresh

Presented by Engine Yard

All Posts

Posts from all past weeks

Yehuda Katz
This week, we'll be covering the first of two parts on the relatively advanced topic on how to use the new plugins APIs in Rails 3 to extend the framework itself. In this first part, we'll cover how to create a Rails plugin inside a gem, what environment you can expect when Rails loads your plugin, how to create your own generators, and add your own rake tasks. Next week, we'll finish up gen...
José Valim
This week, we're going to cover several Rails plugins that demonstrate some of the new features in Rails 3. In the screencast, we will show you how to use them. In the post, we'll go into more detail about how they work internally. h2. Responders "Github Repository":http://github.com/plataformatec/responders | "Blog posts":http://blog.plataformatec.com.br/tag/responders Rails 3 int...
Rizwan Reza
You say, "No, not another Rails upgrade!". While it can be daunting and frustrating to see a new release of software, as it usually means more learning or changing the workflow for what you've just grown accustomed to. Unlike what you might think, Rails 3 is a different beast, it's been remodeled to make your life as a developer easier. So roll up your sleeves and dive through what's new in Rai...
Rizwan Reza
In this week's post, we'll be looking at the new Routing API in Rails 3. Other than handling all the basic routes efficiently, the new DSL also has some nice advanced features baked in that every developer will sure appreciate. I have written about basic routing in Rails 3 over on the EngineYard blog before. This time, we'll go through some of the more advanced examples of using routes. You...
Yehuda Katz
Rails has always had powerful security defaults. Early on, Rails conventions protected applications from the scourge of SQL injection attacks. Rails 2 added protection against Cross Site Request Forgery (CSRF). Rails 3 closes the last common web attack, Cross Site Scripting attacks (XSS). If you just want to learn how to use these new features, you can skip the explanation and jump right to ...
Carl Lerche
ActiveRecord 3.0's big new feature is a brand new finder API that is backed by ActiveRelation, or Arel for short. Arel is a Ruby implementation of relational algebra. This week's screencast will be a hands-on demonstration of the new ActiveRecord finder API and an article that will cover the topic in further depth. The content is suitable for beginners. Also, take note of the new Q&A fea...
Mikel Lindsaar
In this week's screencast, I take you through a tour of the new ActionMailer features in the context of a live application. Read on after the screencast for more in-depth information on the topics covered in the screencast. h2. Behind the Scenes The biggest change (and in fact the change that even made the rewrite possible) was replacing the venerable "TMail":http://github.com/mikel/t...
Andre Arko
Rails 3 revolutionizes gem dependency management by including a new library called Bundler. This new system supersedes the old @config.gem@ system that was built in to Rails 2. It provides all of the functionality of that system and a lot more -- now you can be confident that the gems your application depends on will be the same on every developer's machine as well as every application server. ...
Yehuda Katz
In this our first Rails Dispatch content push, we've got two great pieces of content for you: Rails 3 introduces a series of brand new features that will make your Rails applications better and your experience more pleasant. In today's post, I'm going to cover some of the most important improvements in Rails 3, and show how you can take advantage of those improvements today. This post is a b...