Commit Graph

7237 Commits

Author SHA1 Message Date
Vijay Dev
d2db917841 fix bad formatting in the assets guide 2011-10-08 02:22:49 +05:30
José Valim
8a4239fc7e testing.rake should set the default task, closes #2564 2011-10-07 22:25:10 +02:00
Vijay Dev
4930f9d2a7 Merge branch 'master' of github.com:lifo/docrails 2011-10-07 22:20:29 +05:30
Vijay Dev
cb244f4f70 use https for github url 2011-10-07 22:19:55 +05:30
mhutchin
fca2613ec4 Correct formatting 2011-10-07 08:26:05 -07:00
mhutchin
d4ea804e21 Replace the reference to the annotate_models plugin (unchanged since 2008) with more current annotate_models gem 2011-10-07 08:16:33 -07:00
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
Dimitar Dimitrov
ddee206dfb More understandable warning in the local_constant_names section
Rewrite the warning about local_constant_names in Ruby 1.8 to make it more understandable. Word ordering fixes in the same section.
2011-10-07 03:14:59 +03:00
clay shentrup
0549ba10b3 Clarifying ambiguous description of require_self in the asset pipeline 2011-10-06 16:09:36 -07:00
Manuel Menezes de Sequeira
a17e5e2462 Merge branch 'master' of github.com:lifo/docrails 2011-10-06 21:31:26 +01:00
Manuel Menezes de Sequeira
29bf193cad Undid previous change which violated the convention regarding output (use "# =>") used in these guides. Corrected typo in previous correction. (Thanks for pointing this out, vijaydev.) 2011-10-06 21:29:58 +01:00
Vijay Dev
545ddbdbc5 fix an example 2011-10-06 23:50:16 +05:30
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
Hendy Tanata
79a719a6d2 Grammar fixes for the routing guide. 2011-10-06 14:03:46 +08:00
Ryan Bigg
4f5878a4a9 Merge branch 'master' of github.com:lifo/docrails
* 'master' of github.com:lifo/docrails:
  use Rails.root.join for assets guide
2011-10-06 13:33:55 +11:00
Ryan Bigg
02eac2db94 [config guide] Show example of defining initialization hooks 2011-10-06 13:32:39 +11:00
Ryan Bigg
00751f0257 [config guide] mention that to_prepare hooks are called upon every request in dev, but only once in production 2011-10-06 13:32:21 +11:00
Nick Quaranto
3d595c5eae use Rails.root.join for assets guide 2011-10-05 22:27:33 -04:00
Ryan Bigg
876d3f23d2 [engines guide] More explanation for 'Generating an engine' 2011-10-06 09:18:21 +11:00
Ryan Bigg
1ba6b40698 [engines] Expanded 'What are engines?' and 'Generating an engine' sections 2011-10-06 09:18:21 +11:00
Manuel Menezes de Sequeira
cde529448b Some small corrections and improvements to the text. 2011-10-05 22:52:50 +01:00
Manuel Menezes de Sequeira
07343d2974 Merge branch 'master' of github.com:lifo/docrails 2011-10-05 22:14:49 +01:00
Manuel Menezes de Sequeira
8d775d5f1d Correction of code snippet tag from shell to ruby. 2011-10-05 22:14:41 +01:00
Prem Sichanugrist
d6c7185d77 Update Rails routing guide to mention that redirect() is a 301 permanent redirect
I had to try out myself to realize that it's 301, so this should be helpful to everyone.
2011-10-05 15:31:14 -03:00
Vijay Dev
46ce7f1f77 Merge branch 'master' of github.com:lifo/docrails 2011-10-05 18:42:18 +05:30
Vijay Dev
ea49935a6e copy editing 2011-10-05 18:40:45 +05:30
Hendy Tanata
a44bbfc1c7 Corrections to Active Record Validations and Callbacks guide. 2011-10-05 17:35:58 +08:00
José Valim
4cea4ee6b5 Fix regression when calling helpers inside sprockets. 2011-10-05 09:37:58 +02:00
Ryan Bigg
2c4e08d872 [engines guide] initial layout 2011-10-05 08:38:04 +11:00
Mark J. Titorenko
9c69ef3167 correct path used in "digested assets are not mistakenly removed" test
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-04 22:04:49 +02:00
Mark J. Titorenko
1f0b78e045 add failing test: "digested assets are removed from configured path"
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-04 22:04:45 +02:00
Manuel Menezes de Sequeira
bb4edc8edf More corrections and clarifications to the Active Record Validations and Callbacks guide. 2011-10-04 16:13:16 +01:00
José Valim
7f1a666db5 Fix failing tests and refactor assets.rake 2011-10-04 11:25:36 +02:00
Brendan Ribera
57d9737f2f Test demonstrating #3053: If-Modified-Since gets swallowed up by rack-cache. 2011-10-03 11:32:24 -07:00
Manuel Menezes de Sequeira
547f4af2ca Several small corrections and clarifications to the Active Record Validations and Callbacks guide. 2011-10-03 18:03:35 +01:00
Mark J. Titorenko
a7648c213d add failing test for #3198
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-03 13:36:26 -02:00
Manuel Menezes de Sequeira
e3d4603151 Several small corrections and improvements to the Migrations and Active Record Basics guides. 2011-10-03 14:47:24 +01:00
Sam Pohlenz
6f429f375e Ensure that enhancements to assets:precompile task are only run once
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-03 11:18:49 +02:00
Sam Pohlenz
0e1f7e0058 Replace calls to capture(:stdout) with quietly in assets tests
Signed-off-by: José Valim <jose.valim@gmail.com>
2011-10-03 11:18:44 +02:00
José Valim
d68884f4fd :group => :assets should only run in the assets environment. 2011-10-02 22:08:33 +02: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
Santiago Pastorino
c1547fcf6d Precompile properly refers files referenced with asset_path test 2011-10-02 13:57:29 -02:00
Santiago Pastorino
9b34e31155 capture was commented out 2011-10-02 13:52:29 -02:00
José Valim
753424079e Provide initialize_on_precompile which, when set to false, does not initialize the app for precompilation. Defaults to true. 2011-10-02 12:15:21 +02:00
José Valim
63f6da050a Update CHANGELOG. 2011-10-02 11:17:06 +02:00
Guillermo Iguaran
101fb42106 Print information about .railsrc to users 2011-10-02 01:06:39 -05:00
Guillermo Iguaran
7039def6e1 Read extra args for 'rails new' from ~/.railsrc 2011-10-02 00:12:40 -05:00
Manuel Menezes de Sequeira
a917c2ba8b Several other small corrections. 2011-10-01 12:48:34 +01:00