This link has been bookmarked by 87 people . It was first bookmarked on 23 Mar 2006, by Aaron R Fulkerson.
-
Ken HRails tutorial
-
an article to complement Curt's tutorial at OnLamp.com.
-
-
-
signifiers
-
you must name your database tables and columns according to specific rules.
- 3 more annotations...
-
-
-
This is where you'll be doing most of your work. You create the database models in
models, your controllers for each model incontrollers(amazing!), andviewsfor controllers to use in, well, the eponymous location. Thanks to the data relationship information in a given model, you can access data from multiple models in a single controller, as long as it's all related; and then, the controller can call any number of views, as long as there is a view named the same as the function that wants to call it. -
So when you're writing your data model files in the tutorial, and you write something like:
class Recipe < ActiveRecord::Base
belongs_to :category
endWhat you're doing is, in effect, duplicating an Entity-Relationship Diagram (ERD) of your data in code. Which means you can then access the data as an object in Ruby, instead of writing stupid queries.
- 2 more annotations...
-
-
-
Really Getting Started in Rails
24 Jan 2005
Curt Hibbs has written Rolling with Ruby on Rails, a tutorial on Ruby on Rails for O'Reilly OnLAMP. (Amusing fact: LAMP is an acronym for the triumvirate 1 of Linux-Apache-MySQL-PHP. I am perfectly willing to admit that I am, in fact, easily amused, but I think that this is kinda funny.)
It's a good tutorial. Good as it is, though, it's not perfect (hell, what is?). But hooray for imperfection, because it spurred me to write. -
Really Getting Started in Rails
24 Jan 2005
Curt Hibbs has written Rolling with Ruby on Rails, a tutorial on Ruby on Rails for O'Reilly OnLAMP. (Amusing fact: LAMP is an acronym for the triumvirate 1 of Linux-Apache-MySQL-PHP. I am perfectly willing to admit that I am, in fact, easily amused, but I think that this is kinda funny.)
It's a good tutorial. Good as it is, though, it's not perfect (hell, what is?). But hooray for imperfection, because it spurred me to write.
-
-
Tad DonagheRead this first - go through the tutorial referenced at the top of the article, then back to here for enlightenment.
-
Michael GilesSome added details on Ruby and Rails.
-
Mert NuhogluWhy as opposed to how to do in Rails?
-
Derek MaharAmy Hoy's introduction to Ruby on Rails.
-
Triple EntendreMany of the comments on this article are very useful to me as I start out with Rails. Also probably some good stuff in the trackbacks.
-
-
Curt Hibbs has written Rolling with Ruby on Rails, a tutorial on Ruby on Rails for O'Reilly OnLAMP. (Amusing fact: LAMP is an acronym for the triumvirate+1 of Linux-Apache-MySQL-PHP. I am perfectly willing to admit that I am, in fact, easily amused, but I think that this is kinda funny.)
It's a good tutorial. Good as it is, though, it's not perfect (hell, what is?). But hooray for imperfection, because it spurred me to write.
-
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.