Commit Graph

3329 Commits

Author SHA1 Message Date
Travis Yoder
5a06bbc712 fixes some words missing 2015-05-04 15:59:03 -06:00
Evan Prothro
984a4db3c3 Enhance the "Passing Variables to Translations" part
Add more information about passing variables to translation definitions
and also merge this part with the "Interpolation" one as the latter
didn't bring any new information. Moreover, each one was referring to
the other for further information.

[ci skip]
2015-05-04 15:43:08 +02:00
Evan Prothro
eaa4378586 Updates various prose to the i18n guide
[ci skip]
2015-05-04 15:43:08 +02:00
Rafael Mendonça França
76feb8b8de Merge pull request #19972 from robertjlooby/document_habtm_changes_in_upgrade_guide
add upgrade note for breaking habtm change in 3.2 -> 4.0
2015-05-03 17:45:35 -03:00
Rob Looby
2ffeee3d2a add note about habtm relations with scopes 2015-05-03 11:52:45 -05:00
Yves Senn
5f844211be Merge pull request #19982 from acapilleri/scope_uniquiness
[ci skip] Uniquiness with scope can have one or more arguments
2015-05-03 13:00:37 +02:00
Angelo Capilleri
5c3be16ed2 [ci skip] Uniquiness with scope can have one or more arguments 2015-05-03 09:11:06 +02:00
Zachary Scott
1e7640e68d Fix method call typo [ci skip] 2015-05-02 00:50:14 -07:00
Thomas Osborn
1beff7cbe6 Clean up debugging guide and fix minor grammatical errors[ci skip] 2015-05-01 15:34:09 -07:00
Rob Looby
78c4e30c6d add upgrade note for breaking habtm change in 3.2 -> 4.0
The has_and_belongs_to_many default join_table behavior changed
between Rails 3.2 and Rails 4.0 and should be noted in the
appropriate section of the upgrade guide.

commit:
46492949b8
2015-05-01 13:57:05 -05:00
Tim Wade
ae5c5b2237
Fix style/grammar/typos in Caching guide.
* avoid using unnecessary commas
* fix some typos
2015-04-29 23:36:35 -07:00
Godfrey Chan
a1c7f1b446 Revert "Merge pull request #19817 from tpitale/4_2-release-notes-fix"
This reverts commit 00aa1afae3821dd858dec7111bcdf230b12040d7, reversing
changes made to b584cc68fc28492147ed3ed127ad8a7441ca8161.

Reason:

As far as we can tell, this should not be the case. Both localhost, 127.0.0.1
and ::1 is "supposed to work", so this is probably a bug somewhere.

Reopening #19815 instead.
2015-04-28 20:58:05 -07:00
Kevin Busby
1856899364 Rewording
Rewording in accordance with the documentation guidelines (‘Prefer
wordings that avoid "you"s and "your”s.’) and to remove in particular
“if you'd call”.
2015-04-28 17:00:50 +01:00
Yves Senn
6ccf3bfa6e Merge pull request #19932 from axilleas/api_docs_guidelines
Make sure you execute rake rdoc from rails root directory [ci skip]
2015-04-28 14:34:51 +02:00
Achilleas Pipinellis
86b6c77337 Update instructions to build guides locally [ci skip]
1. Make clear where rake rdoc is executed
2. Make clear where the generated HTML files for the guides are stored
3. Use bundler 1.3.5 or later
2015-04-28 15:33:13 +03:00
Carlos Antonio da Silva
76fc205f99 Merge pull request #19935 from eliotsykes/clarify-configuring-default-test-order
Clarify test_order default configuration behaviour [ci skip]
2015-04-28 09:12:39 -03:00
Yves Senn
f58c1e17fa Merge pull request #19931 from prathamesh-sonpatki/note-about-non-get-links
Added note about non-GET links getting converted to GET links in mailer  Added note about non-GET links getting converted to GET links in mailer templates [ci skip]
2015-04-28 13:43:39 +02:00
Prathamesh Sonpatki
3d92a9e087 Added note about non-GET links getting converted to GET links in mailer templates [ci skip] 2015-04-28 17:05:44 +05:30
Eliot Sykes
b0d51c1b90 Clarify test_order default configuration behaviour [ci skip]
Explain config.active_support.test_order defaults
to :random in newly-generated applications thanks
to generated config/environments/test.rb, otherwise
default is :sorted (until Rails 5.0).
2015-04-28 11:48:53 +01:00
Yves Senn
a66a64aa2a guides, bring back minitest assertion table. [ci skip]
Rails has different naming conventions for the inverse assertion
methods. While minitest uses `refute` we use `_not`. We should have a
table listing the common assertions that you want to use in the Rails
context.

Refs #18305.
2015-04-28 12:16:19 +02:00
Alexey Markov
f08172adbe Small punctuation fixes [ci skip] 2015-04-27 20:10:54 +03:00
Robin Dupret
e61f4ea313 Minor edits to the "Action View Overview" guide
Follow-up to #19672 and 8b0aa0c1.

[ci skip]
2015-04-25 13:53:17 +02:00
Yves Senn
dc6984448b Merge pull request #19236 from sshaw/more_tagged_logging_docs
More docs on tagged logging [ci skip]
2015-04-24 22:10:46 +02:00
Alexey Markov
bd41f68f40 Fix find_each options [ci skip] 2015-04-22 21:37:38 +03:00
Zachary Scott
b0cb4cad1e Merge pull request #19779 from jonatack/improve-contributing-to-ruby-on-rails-guide
Improve the Contributing to Rails Guide [skip ci]
2015-04-21 14:39:16 -04:00
yuuji.yaginuma
9a0177b604 update Ruby required version in Getting Started guide [ci skip] 2015-04-22 01:37:16 +09:00
yui-knk
e509bfc819 [ci skip] Update current version of Ruby 2015-04-21 20:53:03 +09:00
yui-knk
9a37109bc8 [ci skip] Fix linked html file 2015-04-21 13:53:14 +09:00
Xavier Noria
e539866d80 capitalize title
According to the guidelines:

    http://guides.rubyonrails.org/ruby_on_rails_guides_guidelines.html#headings

References #19821.
2015-04-20 11:30:46 +02:00
yuuji.yaginuma
986753f73a correct link to Generic template [ci skip] 2015-04-20 14:13:47 +09:00
Godfrey Chan
0cfc34ae9a Consistency: Rails master -> edge Rails [ci skip] 2015-04-20 00:08:20 -04:00
Godfrey Chan
60cb61dba6 Fix typos in contributing guide [ci skip]
* includes -> include
* "on your computer" is implied
2015-04-19 23:43:18 -04:00
Godfrey Chan
b37845cc25 Better explain the bug report templates [ci skip] 2015-04-19 23:03:50 -04:00
Tony Pitale
b26fafcc16 Update 4_2_release_notes.md 2015-04-19 16:23:00 -04:00
Arthur Nogueira Neves
4e141f16ec Merge pull request #19799 from yui-knk/fix/wrap_doc2
[ci skip] Fix docs and guide about 'Array.wrap'
2015-04-19 09:53:19 -07:00
yui-knk
c94577dd5c [ci skip] Fix docs and guide about 'Array.wrap' 2015-04-19 23:22:49 +09:00
Robin Dupret
0ff87595f0 Merge pull request #19812 from piton4eg/patch-1
Update association_basics.md [ci skip]
2015-04-19 15:59:54 +02:00
Markov Alexey
01ea8c22dd Update association_basics.md 2015-04-19 08:33:19 +03:00
Prathamesh Sonpatki
47fbde43a0 Spell out "asynchronously" instead of async in guides [ci skip] 2015-04-19 11:00:32 +05:30
Yves Senn
154e13c00b Merge pull request #19806 from vircung/master
Improve documentation for uuid [ci skip]
2015-04-18 12:54:07 +02:00
Jacek Nakonieczny
db8b06099f Improve documentation [ci skip]
Add information about usage `uuid` type with `reference`
2015-04-18 06:57:34 +02:00
yui-knk
581906de53 [ci skip] Replace list with array 2015-04-18 00:04:43 +09:00
yui-knk
4563062e72 [ci skip] Update code example of Enumerable#without 2015-04-17 19:58:13 +09:00
Jon Atack
5c7b8d9f40 Improve the Contributing to Rails Guide [skip ci]
First commit:

This PR improves the "4.12 Commit Your Changes" section of the
Contributing to Ruby on Rails Guide:

- Fix formatting of the commit message example

- Improve readability and clarity

- Fix grammar

- Wrap lines

See the before and after images below in this PR.

-----

Second commit:

- Rewrite to remove the word "buffer" [skip ci]
2015-04-16 18:53:24 +05:30
David Fernandez
e87ad3c003 add active job testing section [ci skip] 2015-04-16 08:46:12 +02:00
Hank Beaver
62a5d8ad08 Correct small typo.
* files are written to hard "disk" not "disc".
2015-04-15 10:46:02 -04:00
Jon Atack
6345f31fbf Fix typos and improve the documentation
This is a squash of the following commits, from first to last:

-

Fix minor, random things I’ve come across lately that individually
did not seem worth making a PR for, so I saved them for one commit.

One common error is using “it’s” (which is an abbreviation of “it is”)
when the possessive “its” should be used for indicating possession.

-

Changes include the name of a test, so remove the `[skip ci]` (thanks @senny).

-

Line wrap the changes at 80 chars and add one more doc fix.

-

Add a missing line wrap in the Contributing to Ruby on Rails Guide.

-

Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well.

Rendering the guide locally with `bundle exec rake guides:generate` did
not show any change in on-screen formatting after adding the line wrap.

The HTML generated is (extra line added to illustrate where the line
wrap takes place):

    <div class="info"><p>Please squash your commits into a single commit
when appropriate. This

    simplifies future cherry picks and also keeps the git log
clean.</p></div>

-

Squash commits.
2015-04-15 16:25:24 +05:30
Zachary Scott
163de75707 Merge pull request #19446 from andersonDadario/fix_security_guide_captcha_03_21_2015
Fix security guide captcha 03 21 2015 [ci skip]
2015-04-14 16:53:09 -07:00
Andrey Nering
f1c2937ce5 Removing GZip section since Sprockets 3.0 no longer create .gz files [ci skip]
- 14b3b2edda
- https://github.com/rails/sprockets/issues/26
2015-04-14 14:01:00 -03:00
Guillermo Iguaran
33ea933d7b Merge pull request #19753 from jonatack/use-ruby-2-2-2
Upgrade to Ruby 2.2.2
2015-04-13 22:56:47 -05:00