Commit Graph

396 Commits

Author SHA1 Message Date
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
Xavier Noria
70ad12a72f copy edits the upgrading guide 2012-05-29 21:26:04 +02:00
Francesco Rodriguez
34f82abf01 fix typos on migrations guide [ci skip] 2012-05-28 23:41:49 -05:00
Carlos Antonio da Silva
8795ac5297 Add note about CollectionAssociation#delete change to upgrading guide [ci skip] 2012-05-29 00:19:39 -03:00
Rafael Magana
2c4da97b19 [contributing guide] add instructions to update fork [ci skip] 2012-05-28 21:46:52 -05:00
jordanstaub
cfe731c26b Added information regarding the schema_migrations table in Active Record Migrations guide. 2012-05-28 20:53:04 -04:00
Rafael Magana
eb362e59c0 [guides] fix reference to railties directory, guides are no longer there 2012-05-28 16:21:25 -05:00
Rafael Magana
15b229e8aa [guides] guides:generate:kindle is the new interface to generate .mobi file instead of using KINDLE=1 2012-05-28 16:20:10 -05:00
Rafael Magana
1b5e1c1972 [guides] get rid of any reference to the generator script since rake tasks are now the new interface 2012-05-28 16:17:00 -05:00
Rafael Magana
724d6fa6bb [AR querying guide] Add examples for take(limit), first(limit) and last(limit) 2012-05-28 11:20:13 -05:00
José Valim
135f620535 Merge pull request #6315 from appfolio/moving_number_helper_methods_to_active_support
Moving number helper from ActionView to Active Support
2012-05-28 00:09:46 -07:00
Rafael Magana
ca65dcbbb2 [command line guide] Use actual output of a Rails 3.2.x app 2012-05-28 01:48:04 -05:00
Rafael Magana
ef498057bb [security guide] use info, note and warning where applicable 2012-05-28 00:17:38 -05:00
Francesco Rodríguez
de649452f3 Merge pull request #101 from lazylester/master
small addition to engines guide
2012-05-27 22:03:57 -07:00
Piotr Sarnacki
e4aaac1301 Fix sorting of helpers from different paths
When more than one directory for helpers is provided to a controller, it
should preserver the order of directories. Given 2 paths:

    MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"]

helpers from dir1 should be loaded first. Before this commit, all
helpers were mixed and then sorted alphabetically, which essentially
would require to rename helpers to get desired order.

This is a problem especially for engines, where you would like to be
able to predict accurately which engine helpers will load first.

(closes #6496)
2012-05-28 06:58:48 +02:00
Rafael Magana
e625056c82 [guides] update generator.rb to refer to guides:generate instead of generate_guides 2012-05-27 23:33:54 -05:00
Rafael Magana
840e688dbf [guides] update guides guidelines with the new generation and validation rake tasks 2012-05-27 23:30:38 -05:00
Andrew Mutz
155cd5e6b5 Moving NumberHelpers from ActionView to ActiveSupport 2012-05-27 18:14:21 -07:00
Mark Rushakoff
d138921cec "a sql" -> "an SQL" per API documentation guidelines 2012-05-27 08:25:00 -07:00
Vijay Dev
490b52ee8e some asset path changes and formatting fixes in AV overview [ci skip] 2012-05-27 20:01:55 +05:30
Vijay Dev
523d0f09e4 Merge branch 'master' of github.com:lifo/docrails 2012-05-27 19:51:33 +05:30
Vijay Dev
903a9d51c0 copy edits [ci skip] 2012-05-27 19:45:52 +05:30
Erich Menge
7d8474e20a Add some information about handle_unverified_request to guides. 2012-05-26 16:41:52 -05:00
Vijay Dev
4c34cb31fa Update initialization guide [ci skip]
* update rails versions
* remove outdated code snippets
* few more corrections
2012-05-27 01:44:45 +05:30
Rafael Magana
db57e6d123 [guides] Add rake task to show help and make it the default one 2012-05-26 15:05:52 -05:00