views:

205

answers:

5

I have recently begun the process of trying to learn Ruby/Rails and have been making my way through Agile Web Development with Rails (3rd Ed.). While the content of the book is great I really wish I had either a cheatsheet or a checklist of some sort that describes the steps one should take in order to create an application, and the proper syntax for doing so without taking up hundreds of pages. In essence I would love something that just gives the "broad strokes" of app development and some of the associated syntax while leaving the specifics to be learned by practice and attempting to create a "real" project.

I feel as if I understand the basic theory of how a Rails application works but need a crutch as I go through the development process for something other than a sample app you would find in a book. Are there any resources that would help in this situation? Or what would the best approach in my situation be?

+2  A: 

Check out Getting Started with Rails. This guide/checklist covers Installing Rails, creating a new Rails application, and connecting your application to a database, the general layout of a Rails application, the basic principles of MVC (Model, View Controller) and RESTful design and how to quickly generate the starting pieces of a Rails application.

You can also find a printable Rails on Rails cheat sheet here.

Ben Griswold
+1  A: 

Here is a pdf ruby on rails cheat sheet you could also have a look at.

Ruby on Rails Cheat Sheet

Paul Janaway
I really like that format, but unfortunately it is from 2005 and Rails has changed significantly since then. Does anyone know of a more updated version of it or something close?
theandym
+2  A: 

I would install the cheat gem and go from there.

$ sudo gem install cheat

then you can do

$ cheat cheat

to get help for the gem

$ cheat rails

for rails oriented cheat sheets

$ cheat anything-you-can-think-of---go-ahead-its-fun

etc. etc.

Matt Van Horn
+1  A: 

Added Bytes has really good cheat sheets (In my opinion).

Here's the whole list offered:

http://www.addedbytes.com/cheat-sheets/

Here's the Ruby on Rails:

http://www.addedbytes.com/cheat-sheets/ruby-on-rails-cheat-sheet/

Jefe
+1  A: 

Here you can find a "few" cheat sheets collected by me and Radarek's blog readers: http://radarek.jogger.pl/2008/03/12/zestaw-ponad-40-sciagawek-dla-programistow-ruby-on-rails-i-n/

Marcin Urbanski