Skip to content
This repository
Browse code

assets are in app now and not in public

  • Loading branch information...
commit 00b4756790b04272da3e1ce821a35cc5a9ab1c77 1 parent d48bbc8
Vijay Dev vijaydev authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 railties/guides/source/getting_started.textile
8 railties/guides/source/getting_started.textile
Source Rendered
@@ -177,14 +177,14 @@ In any case, Rails will create a folder in your working directory called <tt>blo
177 177 |Gemfile|This file allows you to specify what gem dependencies are needed for your Rails application.|
178 178 |README|This is a brief instruction manual for your application. Use it to tell others what your application does, how to set it up, and so on.|
179 179 |Rakefile|This file contains batch jobs that can be run from the terminal.|
180   -|app/|Contains the controllers, models, and views for your application. You'll focus on this folder for the remainder of this guide.|
  180 +|app/|Contains the controllers, models, views and assets for your application. You'll focus on this folder for the remainder of this guide.|
181 181 |config/|Configure your application's runtime rules, routes, database, and more.|
182 182 |config.ru|Rack configuration for Rack based servers used to start the application.|
183 183 |db/|Shows your current database schema, as well as the database migrations. You'll learn about migrations shortly.|
184 184 |doc/|In-depth documentation for your application.|
185 185 |lib/|Extended modules for your application (not covered in this guide).|
186 186 |log/|Application log files.|
187   -|public/|The only folder seen to the world as-is. This is where your images, JavaScript files, stylesheets (CSS), and other static files go.|
  187 +|public/|The only folder seen to the world as-is. Contains the static files and compiled assets.|
188 188 |script/|Contains the rails script that starts your app and can contain other scripts you use to deploy or run your application.|
189 189 |test/|Unit tests, fixtures, and other test apparatus. These are covered in "Testing Rails Applications":testing.html|
190 190 |tmp/|Temporary files|
@@ -290,7 +290,7 @@ This will fire up an instance of the WEBrick web server by default (Rails can al
290 290
291 291 TIP: To stop the web server, hit Ctrl+C in the terminal window where it's running. In development mode, Rails does not generally require you to stop the server; changes you make in files will be automatically picked up by the server.
292 292
293   -The "Welcome Aboard" page is the _smoke test_ for a new Rails application: it makes sure that you have your software configured correctly enough to serve a page. You can also click on the _About your application’s environment_ link to see a summary of your Application's environment.
  293 +The "Welcome Aboard" page is the _smoke test_ for a new Rails application: it makes sure that you have your software configured correctly enough to serve a page. You can also click on the _About your application’s environment_ link to see a summary of your application's environment.
294 294
295 295 h4. Say "Hello", Rails
296 296
@@ -364,11 +364,11 @@ The scaffold generator will build 15 files in your application, along with some
364 364 |app/views/posts/new.html.erb |A view to create a new post|
365 365 |app/views/posts/_form.html.erb |A partial to control the overall look and feel of the form used in edit and new views|
366 366 |app/helpers/posts_helper.rb |Helper functions to be used from the post views|
  367 +|app/assets/stylesheets/scaffold.css.scss |Cascading style sheet to make the scaffolded views look better|
367 368 |test/unit/post_test.rb |Unit testing harness for the posts model|
368 369 |test/functional/posts_controller_test.rb |Functional testing harness for the posts controller|
369 370 |test/unit/helpers/posts_helper_test.rb |Unit testing harness for the posts helper|
370 371 |config/routes.rb |Edited to include routing information for posts|
371   -|app/assets/stylesheets/scaffold.css.scss |Cascading style sheet to make the scaffolded views look better|
372 372
373 373 h4. Running a Migration
374 374

0 comments on commit 00b4756

Please sign in to comment.
Something went wrong with that request. Please try again.