Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Ruby curse first app

NotificationsYou must be signed in to change notification settings

fernandouval/first_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. At the command prompt, create a new Rails application:rails new myapp (wheremyapp 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

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

app/assetsContains subdirectories for images, stylesheets, and JavaScript files.

app/controllersHolds controllers that should be named like weblogs_controller.rb forautomated URL mapping. All controllers should descend fromApplicationController which itself descends from ActionController::Base.

About

Ruby curse first app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp