I’ve changed the title of this series, starting with this post, because I like the sound of “Deep Dive” much more than “101.” The rails new command is probably the first bit of the Rails command line we all learned. Give it an application name, and that command will create a fully functional (sic) Rails web application. Much of the convention over configuration plays out in the generated structure, with the app directory holding our model, view, controller, and (now, at Rails 3.1) client-side assets. My added emphasis on “fully functional” in the previous statement exists to point out that the site is hardly production-ready.

Excerpt from:
RubySource: Rails Intro, Deep Dive: App Generation

Tags: rails tutorials
Glenn works for Skookum Digital Works by day and manages the SitePoint Ruby channel at night. He likes to pretend he has a secret identity, but can't come up with a good superhero name. He's settling for "Roob", for now.

No Reader comments

Special Offer
Free course!

Git into it! Bonus course Introduction to Git is yours when you take up a free 14 day SitePoint Premium trial.