Skip to content

Latest commit

 

History

History
53 lines (48 loc) · 1.24 KB

README.md

File metadata and controls

53 lines (48 loc) · 1.24 KB

Welcome to my first APP

  1. At the command prompt, create a new Rails application: rails new myapp (where myapp is the application name)

|-- app |Ruby on Rails Tutorial: Learn Rails by Example |-- assets *| |-- images | |-- javascripts

  • | `-- stylesheets

    | |-- controllers | |-- helpers | |-- mailers | |-- models | -- views | -- layouts |-- config | |-- environments | |-- initializers | -- locales |-- db |-- doc |-- lib | -- tasks |-- log |-- public |-- script |-- test | |-- fixtures | |-- functional | |-- integration | |-- performance | -- unit |-- tmp | |-- cache | |-- pids | |-- sessions | -- sockets -- vendor |-- assets -- stylesheets `-- plugins

app Holds all the code that's specific to this particular application.

app/assets Contains subdirectories for images, stylesheets, and JavaScript files.

app/controllers Holds controllers that should be named like weblogs_controller.rb for automated URL mapping. All controllers should descend from ApplicationController which itself descends from ActionController::Base.