Rails 101: Introduction
Wednesday, July 16th, 2008A basic introduction to Ruby on Rails.
To view:
![]() |
| The Machine | Search for a cog | Submit a cog | Photoshop Videos | Machine Talk |
A basic introduction to Ruby on Rails.
To view:
To create a project in Rails you need to be in your Terminal. Find an appropriate place to store your applications, so if you’re on a Mac the “sites” folder is probably a good idea.
To view:
So you’re just about to crack on and dive into that code, but wait, you don’t even need to do that! Rails comes with generators for basic functionality so you can get going as quickly as possible.
To view:
A handy introduction to Ruby on Rails form helpers.
Introduction to a couple of refactoring methods for Ruby on Rails.
Q: How do I make a form that handles multiple models?
This question is asked quite frequently. Scaffolding and simple Rails tutorials show you how to create one model per form. Unfortunately, sometimes this is not sufficient.
In this article we will make one form that creates two models: Project and Task (where a project has many tasks). What I would like to do is have the first task be created the same time the project is created (in the same form).
This is a simple tutorial for RoR beginners.
This tutorial is meant for those using the Salted Hash Login Generator.
Problem: You need a login system that will show the user their information only. For example: A user has many blog entries and they should only be able to edit their blog entry.
To view this tutorial: http://railsforum.com/viewtopic.php?id=1191
This is a short tutorial on how to use autotest on a Windows XP device. The great thing about autotest is that it updates your test results automatically each time you make changes to your models, controllers or test files.
In this tutorial we are going to use a BackgrounDRb worker to hold an IM client. Our Rails app will then use BackgrounDRb to tell the IM client to send instant messages.
To view this tutorial: http://www.railsforum.com/viewtopic.php?id=1033