Skip to content

Commit

Permalink
Merge pull request rubocop#16 from et/patch-5
Browse files Browse the repository at this point in the history
Assets
  • Loading branch information
bbatsov committed Oct 23, 2011
2 parents c307d3c + db60887 commit 2fd4187
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Expand Up @@ -30,6 +30,7 @@ Some of the advice here is applicable only to Rails 3.1.
* [ActiveRecord](#activerecord)
* [Migrations](#migrations)
* [Views](#views)
* [Assets](#assets)
* [Mailers](#mailers)
* [Bundler](#bundler)
* [Managing processes](#processes)
Expand Down Expand Up @@ -309,6 +310,17 @@ the same purpose of the named scope and returns and
return options.message || 'invalid e-mail format'
```

<a name="assets"/>
## Assets

Use the [assets pipeline](http://guides.rubyonrails.org/asset_pipeline.html) to leverage organization within
your application.

* Reserve `app/assets` for custom stylesheets, javascripts, or images.
* Third party code such as [jQuery](http://jquery.com/) or [bootstrap](http://twitter.github.com/bootstrap/)
should be placed in `vendor/assets`.
* When possible, use gemified versions of assets (e.g. [jquery-rails](https://github.com/rails/jquery-rails)).

<a name="mailers"/>
## Mailers

Expand Down

0 comments on commit 2fd4187

Please sign in to comment.