5 Getting Up and Running

Now that you've seen how to create a controller, an action and a view,
let's create something with a bit more substance.

In the Blog application, you will now create a new resource. A resource
is the term used for a collection of similar objects, such as posts,
people or animals. You can create, read, update and destroy items for a
resource and these operations are referred to as CRUD operations.

Rails provides a resources method which can be used to declare a
standard REST resource. Here's how config/routes.rb will look like.