Ruby Bootcamp Basics
I’ve been putting myself through a Ruby bootcamp. Here’s are the steps of my training:
- Install Ruby and Rails on Mac OS X Snow Leopard
- Ruby Primer introduction to Ruby basics
- Quick Reference
- Ruby on Rails Tutorial comprehensive tutorial that goes through the complete setup from db to web application
While going through the tutorial I found a few issues that I wanted to highlight:
- The use of the start_form_tag has been deprecated, the correct tag to use is form_tag followed by do e.g. <%=start_form_tag :action=> ‘create’ %> becomes <% form_tag :action=> ‘create’ do %>
- The use of the end_form_tag has been deprecated, the correct tag to use is end.
- The error message: syntax error, unexpected kENSURE, expecting $end means that Ruby is trying to ensure that a keyword in this case ‘end’ is being used.
- redirects_to versus redirect_to the former is a class method and the later is an instance method.

Hey Poornima, have you read Agile Web Development With Rails 3rd Edition? Reading through this helped me get up and running quickly!
Happy to help if you hit any weird stuff with rails!
Brian
P.S. Found your blog through this article, congrats!
http://www.women2.org/2009-founder-successes/
Thanks Brian! No I haven’t read it, but I am looking for a good Ruby book so I’ll check it out. Also, I’ll eventually like to port my rails application to iPhone.
@Poornima Vijayashanker
Interesting, I haven’t tried porting a Rails app to iPhone yet. Good luck!