Have you ever wished you could start out your Rails application with all of your gems installed and all of your standard setup items completed? Well, wait no longer. You can now do it with Rails Templates. Pratik covered it pretty well, so I’m not going to repeat what he’s done. Rather, I’m going to share a template of my own and explain why I included what I did.
One problem that seems to face people when they’re attempting to move their applications into production is the best way to manage deployment of their application. This is where tools like capistrano comes in.
Capistrano was written by Jamis Buck of 37signals. In a lot of ways it has become the defacto way to deploy Ruby on Rails applications. It has also had tools like webistrano build on top of it to provide a graphical interface to the command line tool.
To get started, you need to install the capistrano gem:
This is my first screencast. I’ve learned a lot about recording screencasts while doing this. The screencast was recorded using a free trial of Camtasia for Mac. The trial is up in 30 days, so I’d really appreciate donations to help me get ScreenFlow so I can continue to produce screencasts.
In the meantime, here’s a basic rundown of the 4 basic types of routes in Ruby on Rails.
Ruby on Rails gives you some simple but powerful tools for mapping URL’s and HTTP Verbs to your Controllers and Views. Here is a simple walkthrough of 4 of these ‘Routes’: default routes, regular routes, named routes, and RESTful routes.
For those that followed Rails Envy, you’re probably aware that Gregg Pollack and Jason Seifer have discontinued the Rails Envy podcast. The Rails Envy website is still there, for those who are checking it out as one of the 9 Resources for New Ruby on Rails Developers.
I was considering starting my own podcast to take its place, but Gregg Pollack informed me that he was planning to start a new podcast. It’s now up at http://ruby5.envylabs.com and available on iTunes.