Rails Scaffolding was created to make things easier for you. So rather than using a tutorial that isn't correct and losing your mind for hours (like myself) do yourself a favor and check to see what version of rails you are running first.
Open a terminal and type "rails -v" to check which version of rails you have installed:
Mine says "Rails 2.3.4" so I will make sure i'm using a Rails 2.0 Scaffolding tutorial like the following:
http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html
- or -
http://fairleads.blogspot.com/2008/01/this-is-second-part-of-my-series.html
If you get anything lower than Rails 2.0 you should be using the Rails 1.0 examples like the following:
http://developer.apple.com/tools/rubyonrails.html
Tuesday, October 6, 2009
Saturday, September 26, 2009
Ruby on Rails Setup
Since I'm running Mac OS X 10.6.1 (Snow Leopard) I found a lot of useful information on Apple's Developer Connection page: Using Ruby on Rails for Web Development on Mac OS X.
I must warn you that the information for Rails Scaffolding wasn't correct for the current version (Rails 2.3.4) I was running. If you have no idea what that is, don't worry you can still proceed. I would however stop at that part of the tutorial and check out my post for Rails Scaffolding.
Developing Rails Applications on Mac OS X Leopard
http://developer.apple.com/tools/developonrailsleopard.html
Here is a link for Ruby on Rails installation on OSX, Windows or for Linux.
http://www.tutorialhero.com/click-59223-ruby_on_rails_for_designers.php
I must warn you that the information for Rails Scaffolding wasn't correct for the current version (Rails 2.3.4) I was running. If you have no idea what that is, don't worry you can still proceed. I would however stop at that part of the tutorial and check out my post for Rails Scaffolding.
Developing Rails Applications on Mac OS X Leopard
http://developer.apple.com/tools/developonrailsleopard.html
Here is a link for Ruby on Rails installation on OSX, Windows or for Linux.
http://www.tutorialhero.com/click-59223-ruby_on_rails_for_designers.php
Labels:
ruby on rails,
tutorials
Subscribe to:
Posts (Atom)