3 Please visit our wiki at: http://wiki.mwamko.org
8 Run: ./script/mwamko start
13 You can interact with the domain model by starting the console through
14 script/console. Here you'll have all parts of the application configured,
15 just like it is when the application is running. You can inspect domain
16 models, change values, and save to the database. Starting the script without
17 arguments will launch it in the development environment.
19 Passing an argument will specify a different environment,
20 like: script/console production
22 To reload your controllers and models after launching the console
26 == Description of contents
29 Holds all the code that's specific to this particular application.
32 Holds controllers that should be named like weblog_controller.rb for
33 automated URL mapping. All controllers should descend from
34 ActionController::Base.
37 Holds models that should be named like post.rb.
38 Most models will descend from ActiveRecord::Base.
41 Holds the template files for the view that should be named like
42 weblog/index.rhtml for the WeblogController#index action. All views use eRuby
43 syntax. This directory can also be used to keep stylesheets, images,
44 and so on that can be symlinked to public.
47 Holds view helpers that should be named like weblog_helper.rb.
50 Configuration files for the Rails environment, the routing map,
51 the database, and other dependencies.
54 Contains the database schema in schema.rb. db/migrate contains all
55 the sequence of Migrations for your schema.
58 Application specific libraries. Basically, any kind of custom code
59 that doesn't belong under controllers, models, or helpers. This
60 directory is in the load path.
63 The directory available for the web server. Contains subdirectories
64 for images, stylesheets, and javascripts. Also contains the dispatchers
65 and the default HTML files.
68 Helper scripts for automation and generation.
71 Unit and functional tests along with fixtures.
74 External libraries that the application depends on. Also includes the
75 plugins subdirectory. This directory is in the load path.