Skip to main content

RubySource: Rails Intro, Deep Dive: App Generation

By Glenn Goodrich

Programming

Share:

😳 Ever felt a little embarassed sharing your JavaScript? Let's fix it.

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

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.

New books out now!

💁‍♀️ Fun Fact: Python was ranked #2 on a recent highest paid coders list. *


🤓 Ok. When did a code editor from Microsoft become kinda cool!?