一、application directory
1. config.ru: configures the Rack Webserver Interface, either to create Rails Meta applications or to use Rack Middlewares in your application.
2.Gemfile: specifies the dependencies of Rails application.
3.Gemfile.lock: records the specific versions for each of Rails application's dependencies.
4.Rakefile: defines tasks to run tests, create documentation, extract the current structure of schema, and more.
5.README: general information about Rails application
A place for Application most of work take places in the app directory
A place for Tests test directory including fixtures that define data used by our tests.
A place for Documentation
A place for Supporting Libraries The lib directory holds application code that doesn’t fit neatly into a model, view, or controller.
The lib directory is also a good place to put code that's shared among models, views, or controllers.
A place for Logs development.log, test.log, and production.log.
A place for Static Web Pages The public directory is the external face of Rails application.
A Place for Script Wrappers
A Place for Temporary Files
A Place for Third-Party Code The vendor directory is where third-party code lives.
A Place for Configuration The config directory contains files that configure Rails.
二、Naming Conventions