Commit Graph

119 Commits

Author SHA1 Message Date
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
Roy Tomeij
3461a5d436 Change "SCSS" to "Sass" in sentences where it's referred to as "language", because Sass is the language (SCSS is one possible syntax within the Sass language), as per documentation on sass-lang.com. 2011-09-01 17:24:26 +02:00
Richard Hulse
cfd785f910 Move css data URI into css/erb section 2011-09-01 21:20:26 +12:00
Richard Hulse
1f998c7578 pipeline docs improvement
Some cleaning up of whitespace/punctuation
and text refinements to clarify some things.
2011-09-01 21:15:06 +12:00
Richard Hulse
5421d4d016 pipeline docs - spelling and some whitespace 2011-09-01 18:25:24 +12:00
Guillermo Iguaran
72fea6d2eb Adding reference about ExecJS for CoffeeScript 2011-09-01 01:18:20 -05:00
Guillermo Iguaran
fdf2f519bd Add reference to ExecJS in JavaScript Compression section 2011-09-01 01:15:19 -05:00
Guillermo Iguaran
418e321b50 Fixing sass-rails helpers methods examples 2011-09-01 01:01:31 -05:00
Guillermo Iguaran
4ba35dd26b Giving info about what are the defaults for test environment 2011-09-01 00:35:01 -05:00
Richard Hulse
ed1dfaf48d update pipeline docs to reflect new defaults
Production section has been changed to reflect the
new default of precompilation and using the asset
manifest.

Development has been swapped around to reflect the
new default (debug mode is on).

Other changes to support this elsewhere.
2011-09-01 13:28:33 +12:00
Kir
6ce6ba8638 Instructions for nginx and apache added 2011-08-31 16:09:41 -07:00
Richard Hulse
054bdc1f59 Add section to pipeline docs to help people upgrading
These are the options from a brand new app, and
should help people get it right when upgrading.
2011-09-01 09:11:00 +12:00
Andrew Olson
120b534d8e Fixing spelling, throught -> through. 2011-08-31 14:18:01 -04:00
Xavier Noria
e746c4047c syncs assets guide with what's in 3-1-stable 2011-08-31 02:04:36 -07:00
Xavier Noria
2350fecd22 adds the asset pipeline guide to the index 2011-08-30 13:48:16 -07:00
Igor Zubkov
871696a01a Documentation fixes 2011-08-29 02:37:56 +03:00
Guillermo Iguaran
3731a0f97b Update Debugging Assets section of Assets Pipeline guide 2011-08-25 09:49:18 -05:00
Andrey A.I. Sitnik
18b2223b32 Allow to debug assets by config.assets.debug 2011-08-22 09:36:36 +11:00
Sebastian Martinez
0b3b91cdcd Document debugging assets set by default for dev and test envs in the asset_pipeline guide. 2011-08-19 19:45:55 -03:00
Jeff Dutil
6783ce0de4 Updates to remove extra whitespaces and notably fix a whitespace issue with ajax_on_rails causing a code block not to render the entire block properly. 2011-08-16 23:35:40 -04:00
JESii
f7626ea38e Updates to Asset Pipeline Guide
Grammar/syntax/style changes:
1. Changed all 'we' to 'you'
2. Corrected typos
3. Make consistent styline (e.g., dashes & double-dash usage)
4. Change use of future tense (will...) to present tense (easier to read).
2011-08-15 15:17:13 -07:00
Vijay Dev
c0c5d5fd2e assets guide - add info about require_directory, minor rephrasings 2011-08-15 21:46:21 +05:30
Richard Hulse
49e81f21a3 [asset pipeline] update snippet to reflect patch
Two commented lines in example to match the
commit (8845ae683e2688)
2011-08-13 16:22:33 -07:00
Richard Hulse
32da2f864e [asset pipeline] update to reflect new sendfile header default
X-Sendfile headers are now set to nil and are off by default.
See commit eff7fddeb26eaa346827
2011-08-13 16:22:33 -07:00
Richard Hulse
b840d71bfb [asset pipeline] Update Capistrano info
v2.8.0 of Capistrano has a recipe to handle precompile
and symlinking.
2011-08-13 16:22:33 -07:00
Richard Hulse
bc49d6d1eb [asset pipeline] fixed example
Changed << to += because we are _concatenating_
this new array to the end of config array, NOT
pushing this array in it.
2011-08-13 16:22:31 -07:00