Commit Graph

420 Commits

Author SHA1 Message Date
kennyj
c42a7a0082 Support unicode character route in config/routes.rb. 2012-06-16 00:22:16 +09:00
Vijay Dev
906215f15b fix some formatting [ci skip] 2012-06-14 23:59:35 +05:30
Vijay Dev
ff859f542c modify middleware docs [ci skip] 2012-06-14 23:14:47 +05:30
Santiago Pastorino
c04d02b425 Add docs about how to remove some middleware 2012-06-14 14:29:00 -03:00
Vijay Dev
c1474ff2e7 Merge branch 'master' of github.com:lifo/docrails 2012-06-14 22:52:38 +05:30
Vijay Dev
5795efa9d8 move the info about cosmetic changes to a diff location [ci skip] 2012-06-14 22:51:29 +05:30
Vijay Dev
3b55b7fe7c Revert "Add a note about JavaScript runtime"
This reverts commit d63b69ba7f2b9111aeb04b50884949c2a4b6e584.
2012-06-14 22:15:55 +05:30
MrBrdo
bc7c0b5c10 prevent users from unknowingly using bad regexps that can compromise security (http://homakov.blogspot.co.uk/2012/05/saferweb-injects-in-various-ruby.html) 2012-06-14 18:10:49 +02:00
Oscar Del Ben
32664e7463 Add server.run example
This is the last chapter before I go back and make sure the guide is
complete/review
2012-06-14 09:05:10 -07:00
Nathan Long
f48c576fc8 Show how to add attributes to options 2012-06-13 15:49:31 -04:00
Oscar Del Ben
18faa5b337 Show when Rack middlewares are executed 2012-06-13 08:59:14 -07:00
Oscar Del Ben
1f07ff97ab Add initialize! explanation 2012-06-13 08:48:45 -07:00
Oscar Del Ben
81fd371f13 Close explanation of config/environment 2012-06-13 08:34:48 -07:00
Andrew Hooker
5dd4358f1d Adding note about cosmetic changes not being accepted 2012-06-12 13:55:00 -03:00
kennyj
34492af710 Create hstore extension when building PostgreSQL databases. 2012-06-12 19:34:24 +09:00
Sam Oliver
07d346646f Fix cache_store configuration example 2012-06-11 23:29:59 +01:00
Oscar Del Ben
57170af5c3 Remove initialization explanation for each framework
We no longer go through all the files and  frameworks that are required
by Rails. Instead we will only focus on the code that gets executed as
well as important concepts.
2012-06-10 18:45:35 -07:00
Oscar Del Ben
3c025dec4c Add config/application to initialization guide 2012-06-10 18:26:54 -07:00
Oscar Del Ben
50d9781e43 Rewrite Rails server initialization section 2012-06-10 18:20:40 -07:00
Oscar Del Ben
028f5b1c33 Refactor Action Dispatch description to be more concise 2012-06-10 18:07:04 -07:00
Oscar Del Ben
fb5d92809f Change initialization guide introduction
We will no longer cover every single file that is loaded by Rails, as
this would be too difficult and time consuming to maintain.

We also expect the reader to know about rails server at this point.
2012-06-10 17:55:12 -07:00
Tobi Lehman
071170871c Fix typo 'ActiveSpport'. 2012-06-10 14:13:32 -03:00
Oscar Del Ben
661fe76d5e Add files required by action_dispatch 2012-06-09 12:26:17 -07:00
Oscar Del Ben
2f6e8099e3 Add missing requires for rails/commands/server 2012-06-09 12:20:47 -07:00
João Britto
b1f634a379 A blank line is required before code blocks. The generated output breaks otherwise. 2012-06-08 15:23:12 -03:00
John Yani
d63b69ba7f Add a note about JavaScript runtime 2012-06-05 02:07:21 +03:00
John Yani
cba59f1ed1 bundle exec is needed even if running a single test. 2012-06-04 13:12:24 +03:00
Hrvoje Šimić
40c8ca5b09 remove unnecessary text 2012-06-04 01:03:39 +02:00
Philip Arndt
b3702ab210 Updated guide to say Rails 4.0 requires 1.9.3 or higher, not Rails 3.2. 2012-06-03 17:54:57 +12:00
Vijay Dev
806d023b45 starting with the Rails 4.0 release notes
just a consolidation of the changelogs with minimal formatting

[ci skip]
2012-06-02 23:39:11 +05:30
Vijay Dev
40d5303b4f Merge branch 'master' of github.com:lifo/docrails 2012-06-02 21:50:02 +05:30
Vijay Dev
ab2bf8148c copy edit AS guide [ci skip] 2012-06-02 21:46:39 +05:30
Vijay Dev
313c528e0b copy edit routing guide [ci skip] 2012-06-02 21:46:28 +05:30
Vijay Dev
983687a9e5 fix up the example app for getting started guide [ci skip] 2012-06-02 21:38:32 +05:30
Hrvoje Šimić
faf550c191 better explanations for acts_like?, try and deep_dup 2012-06-02 15:04:35 +02:00
spyhole
cd31eb19dd change welcome_helper.rb to home_helper.rb 2012-06-01 02:56:42 -04:00
spyhole
f820668867 Update guides/code/getting_started/test/functional/home_controller_test.rb 2012-06-02 13:33:39 +08:00
spyhole
890c4b7778 the file name should be changed to home_helper.rb 2012-06-02 13:20:17 +08:00
spyhole
81281befb2 Update guides/code/getting_started/app/controllers/home_controller.rb 2012-06-02 12:17:48 +08:00
spyhole
b4f1c16908 Update guides/code/getting_started/config/routes.rb 2012-06-02 12:17:13 +08:00
schneems
e63666398d routes are viewable in browser (update guides)
From the Pull Request #6461
2012-06-01 16:46:11 +02:00
Vijay Dev
9ed62ade5f cut down spaces [ci skip] 2012-05-30 23:11:09 +05:30
Vijay Dev
3b6d66a0c8 Revert "Revert "[AR querying guide] Add examples for take(limit), first(limit) and last(limit)""
This reverts commit 5559a2ae98dcda6854f38890025b52edfb2836f5.

Reason: These are for selecting multiple objects and there isn't a need
to club them with the selecting single objects section, as discussed
with the author.
2012-05-30 23:08:35 +05:30
Vijay Dev
ec74763c39 Merge branch 'master' of github.com:lifo/docrails 2012-05-30 22:53:52 +05:30
Vijay Dev
2adba2e285 let's not add too much details upfront in the introduction [ci skip] 2012-05-30 22:40:31 +05:30
Vijay Dev
5559a2ae98 Revert "[AR querying guide] Add examples for take(limit), first(limit) and last(limit)"
This reverts commit 724d6fa6bb48b61798c223b47dd27155839c40d5.

Reason: This is already documented in another section, albeit without
the arguments examples. Let's add them in another commit in the
appropriate sections

[ci skip]
2012-05-30 22:29:02 +05:30
Saulius Grigaliunas
a546f7fb26 Revert my own commit, didnt notice that this was intentional. [ci skip] 2012-05-29 23:44:30 +01:00
Saulius Grigaliunas
87ba0b48cd Routing guide: route constraints are anchored by default, remove ^ character. [ci skip] 2012-05-29 22:46:58 +01:00
Xavier Noria
669694fe88 Merge pull request #6502 from rafmagana/guides_refactor_rakefile
[Guides] refactor rakefile to have a :guides namespace and a task that shows help
2012-05-29 14:09:08 -07:00
Rafael Magana
97fb1b6e65 fix typo on ActiveSupport instrumentation guide [ci skip] 2012-05-29 15:08:53 -05:00