Commit Graph

144 Commits

Author SHA1 Message Date
Richard Hulse
d72a85c022 [docs] removed last-modifed line from examples
This is no longer best-practice.

ref:
http://stackoverflow.com/questions/8344186/rails-3-1-on-apache-pagespeed-says-specify-cache-validator-when-using-asset-p/8348385#8348385
2011-12-02 10:44:34 +13:00
rpq
bc00514b62 added comma 2011-11-15 23:20:21 -05:00
Henare Degan
df5f88c7c0 Fix a little typo 2011-10-26 19:03:53 +12:00
Pascal Lindelauf
86919a6da1 Clarified that the config.assets.initialize_on_precompile directive needs to be set in application.rb 2011-10-17 14:45:45 +02:00
Vijay Dev
a2edc884f3 Merge branch 'master' of github.com:lifo/docrails 2011-10-09 20:10:53 +05:30
Roy Tomeij
d214e54e7a Fix a typo that was mysteriously entered in previous commit 2011-10-09 13:45:54 +02:00
Roy Tomeij
da773a24be Add note about how Sass & Sprockets don't match 2011-10-09 13:38:47 +02:00
Vijay Dev
d2db917841 fix bad formatting in the assets guide 2011-10-08 02:22:49 +05:30
Vijay Dev
4930f9d2a7 Merge branch 'master' of github.com:lifo/docrails 2011-10-07 22:20:29 +05:30
Xavier Noria
b1c20e37ec asset pipeline guide: removes Apache config for serving pre-compressed assets, and expands the information about nginx support for this
A robust Apache configuration for this feature seems to be tricky,
one that takes into account Accept-Encoding, sets Vary, ensures
Content-Type is right, etc.
2011-10-07 15:05:14 +02:00
clay shentrup
0549ba10b3 Clarifying ambiguous description of require_self in the asset pipeline 2011-10-06 16:09:36 -07:00
Vijay Dev
2224a06b72 fix a space in the assets guide 2011-10-06 20:04:09 +05:30
Xavier Noria
9d091c038d revises the precompilation section of the asset pipeline guide (web server configuration for gzipped assets pending) 2011-10-06 16:23:56 +02:00
Nick Quaranto
3d595c5eae use Rails.root.join for assets guide 2011-10-05 22:27:33 -04:00
Xavier Noria
ac1fc5c594 rewords the docs of config.assets.initialize_on_precompile in the asset pipeline guide 2011-10-02 12:33:14 -07:00
Xavier Noria
6e00c05607 documents config.assets.initialize_on_precompile in the asset pipeline guide 2011-10-02 11:35:58 -07:00
Xavier Noria
cba3c00831 partial pass over the assets guide 2011-09-28 13:48:48 -07:00
Vijay Dev
f3b8cd9d36 fixing typo in assets guide 2011-09-28 13:35:46 +05:30
Xavier Noria
41c8277a9b the infamous detail only spotted in GitHub diffs no matter how careful you were before pushing 2011-09-27 13:55:41 -07:00
Xavier Noria
c612183ad1 partial pass over the asset pipeline 2011-09-27 13:51:06 -07:00
Vijay Dev
33b55cfbdb Merge branch 'master' of github.com:lifo/docrails 2011-09-28 00:04:45 +05:30
Xavier Noria
01e5e2faeb partial pass over the asset pipeline guide 2011-09-26 18:19:25 -07:00
Nicolás Hock Isaza
94ed1e2495 Alert about the new Bundler require for asset gems
If you are coming from a Rails 3.0 application, you won't have
the correct Bundler require statement.

This will cause the gems under the `assets` group not to be available
in the development and production environment.

I think this is related to the issue #39 in rails-sass
https://github.com/rails/sass-rails/issues/39
2011-09-26 16:34:42 -05:00
Uģis Ozols
663031801c sass-rails helpers - hyphenated in Sass, underscored in Ruby. 2011-09-17 10:00:53 +03:00
Vijay Dev
27f1320fde Fixing incorrect notextile tags 2011-09-16 23:22:50 +05:30
Vijay Dev
8411f631c4 minor edit 2011-09-16 23:22:50 +05:30
Guillermo Iguaran
28677014a4 Add reference about --skip-sprockets to Asset Pipeline Guide 2011-09-15 20:07:01 -05:00
Ben Walding
b3ff720567 Add equivalent nginx configuration 2011-09-14 15:27:38 +10:00
Jaime Iniesta
bde113a82e Fix typos and broken link on asset pipeline guide 2011-09-14 00:09:59 +02:00
Emin Hasanov
22a4f7e8bd Fix typo in "must-revalidate" header name 2011-09-11 14:18:07 +06:00
Vijay Dev
59198ecb65 some copy-edits 2011-09-08 18:25:43 +05:30
Vijay Dev
190a2bf9c4 Revert "Rails.root is a Pathname, no need to use File.join first."
This reverts commit 760fd1eb42038a64591036fc5d687afc98f272aa.

Reason: We need a fully qualified path string here, not a Pathname.
2011-09-07 22:54:49 +05:30
Vijay Dev
0fb3aa750f copy edit assets guide 2011-09-07 22:53:16 +05:30
Joost Baaij
760fd1eb42 Rails.root is a Pathname, no need to use File.join first. 2011-09-07 16:09:56 +03:00
Ryan Walker
198092e2c0 Added note about adding a javascript runtime to Gemfile for production environment. 2011-09-06 14:06:34 -03:00
Marcus Ilgner
5e2bf4de62 Fixed Apache configuration for gzipped assets: FilesMatch and LocationMatch cannot be nested. 2011-09-06 16:27:26 +02:00
Uģis Ozols
9584e15d39 Change hyphen to underscore. 2011-09-06 17:13:30 +03:00
Guillermo Iguaran
8df4fb1bb4 Add reference about "bundle install --without assets" in Precompiling Assets section. 2011-09-04 21:17:23 -05:00
Guillermo Iguaran
a1dbd94b60 Add CoffeeScript example to JavaScript and ERB section 2011-09-04 21:01:04 -05:00
Guillermo Iguaran
3e62235c6c Add JavaScript and ERB section to Asset Guide 2011-09-04 20:56:47 -05:00
Vijay Dev
abb0905404 Merge docrails, resolving conflicts in the assets guide 2011-09-04 18:58:34 +05:30
Vijay Dev
a6bafb327d minor fixes in assets guide 2011-09-04 18:49:16 +05:30
Xavier Noria
5912ed9902 fixes CSS example in the asset pipeline guide 2011-09-03 01:36:57 +02:00
Guillermo Iguaran
1b8290db52 Fix asset_path example in CSS and ERB section 2011-09-02 17:10:11 -05:00
Richard Hulse
a3edf3d2a3 fix YUI description
YUI CSS compressor does not extend syntax! Also
added link to more info
2011-09-03 09:11:20 +12:00
Vijay Dev
44284a613b Revert "Fixing guides validation errors."
This reverts commit d20281add192e5afba66e555ce67cf73943b033b.

Reason: This needs more investigation. Will apply when this is verified.
2011-09-02 22:58:40 +05:30
Vijay Dev
220c77dd68 debug option to js, stylesheet tags are ignored when debug mode is off 2011-09-02 22:42:23 +05:30
Andrew Olson
57847fbfaf Merge branch 'fix_validation_errors' 2011-09-02 12:02:14 -04:00
Andrew Olson
d20281add1 Fixing guides validation errors. 2011-09-02 11:48:45 -04:00
Richard Hulse
ca7c37a660 fix some minor omissions in pipeline docs 2011-09-02 08:39:16 +12:00