Commit Graph

3476 Commits

Author SHA1 Message Date
Gaurav Sharma
a9aefffea6 Rails 5.0 will target Ruby 2.2+, correct rails guide example [ci skip] 2015-05-20 17:18:24 +05:30
Ronak Jangir
76fbfe9e6c Updated postgresql documentation link to use latest version [ci skip] 2015-05-20 14:00:31 +05:30
Roque Pinel
8f09a8396f [ci skip] add to doc that acceptance validator allows nil by default 2015-05-19 22:20:10 -04:00
Gourav Tiwari
a7e1126519 updated squash docs-section [ci skip]
I happen to squash my couple of commits and when followed steps from guide, I observed that I have to give a commit id after which I want to squash. If I don't provide one it picks last 3 commits, which might not include my commits to squash.
Refer: http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git
2015-05-19 20:26:11 +00:00
Rafael Mendonça França
7cd2b02190 Merge pull request #20157 from tak1n/master
Clarify view tests
2015-05-19 16:24:23 -03:00
Ankit Gupta
dcb5154e09 updating the links, they were removed in cc30f5f9 [ci skip]
new links as per pull request comment #20160 (OWASP guides)
2015-05-19 11:46:34 -04:00
Santiago Pastorino
1622298428 Merge pull request #20178 from vngrs/fix_wrong_default_value_of_javascript_engine
config.generators javascript_engine default value is :js not nil
2015-05-17 16:30:46 -03:00
Mehmet Emin İNAÇ
8edbb2792b add missing documentation about generators resource_route [ci skip] 2015-05-17 21:10:40 +03:00
Mehmet Emin İNAÇ
6973368719 config.generators javascript_engine default value is :js not nil [ci skip] 2015-05-17 20:36:27 +03:00
Roque Pinel
bea8f7c057 [ci skip] remove unnecessary mention to Test::Unit from docs
Fix the guide to state that Rails uses Minitest as the default test
framework.

Remove unnecessary mention to Test::Unit from the API docs
('constantize' and 'safe_constantize').
2015-05-16 21:44:22 -04:00
Tim Wade
335137148a
[ci skip] Improve grammar/syntax in AR validations docs. 2015-05-16 09:06:34 -07:00
yui-knk
686d6ef587 [ci skip] Upcase when 2015-05-16 16:41:24 +09:00
yui-knk
506360e924 [ci skip] Fix to a singular form (person has one contact_detail) 2015-05-16 16:11:34 +09:00
Ankit Gupta
cc30f5f92a Dead blog/site links [ci skip] 2015-05-14 19:46:38 -04:00
Benjamin Klotz
d5847f4cc0 Clarify view tests [ci skip]
Mention that view tests are made in controller tests.
2015-05-14 18:05:21 +02:00
Tim Wade
4cebcaeb2f
[ci skip] Improve phrasing in AR migrations docs.
* insert 'and' into a poorly formed sentence.
* avoid using 'reverse' twice in the same sentence (which would indicate
  the opposite of what is meant)
2015-05-13 21:05:48 -07:00
Yves Senn
e99d909928 Merge pull request #20119 from yui-knk/fix/active_record_querying
[ci skip] Fix `transaction` code example
2015-05-12 08:24:50 +02:00
yui-knk
7656d672aa [ci skip] Fix transaction code example 2015-05-12 13:49:27 +09:00
Jared Fine
cbf0ea8a30 Add openssl_verify_mode and sync other smtp_settings with API docs 2015-05-11 17:27:10 -04:00
Kohei Suzuki
c59382b3b1 Fix default value in guide [ci skip] 2015-05-12 00:37:46 +09:00
Tim Wade
663ffe9216
[ci skip] Improve phrasing on #explain pretty printing. 2015-05-10 09:43:13 -07:00
yui-knk
5f3bd44710 [ci skip] Fix purpose of assert_kind_of 2015-05-10 21:40:31 +09:00
Yves Senn
986fdc4e73 Merge pull request #20087 from kuldeepaggarwal/fix-engine-guides
correct error text message in engines.md [ci skip]
2015-05-09 19:03:49 +02:00
kuldeepaggarwal
f4fd4d617f [CI SKIP] correct error text message 2015-05-09 21:51:06 +05:30
Faruk AYDIN
a834c64a75 promote :except option instead of :only for before action docs [ci skip] 2015-05-09 17:36:05 +03:00
Arun Agrawal
145b7ce53c Merge pull request #20079 from ankit8898/aj_all
docs: syncing with the code, adding aj [ci skip]
2015-05-08 21:39:33 +02:00
Ankit Gupta
d9e76bd389 docs: syncing with the code, adding aj [ci skip] 2015-05-08 15:22:28 -04:00
Vijay Dev
9c290fbe7f Merge branch 'master' of github.com:rails/docrails 2015-05-08 16:20:27 +00:00
Ankit Gupta
1b62428c13 added activejob in list [ci skip] 2015-05-07 22:24:06 -04:00
Ankit Gupta
e82247aabc Typo fix [ci skip]
Single brackets
2015-05-07 14:24:56 -04:00
Anton Davydov
8a40bf2081 [skip ci] Fix typos in actionpack changelog and security guide 2015-05-07 14:49:34 +03:00
Zachary Scott
c5ee5cf582 s/snipped/snippet for @senny :trollface: 2015-05-06 22:31:22 -07:00
Zachary Scott
268f13c425 Merge pull request #20040 from ankit8898/route
Docs: Adding a note, snipped for brevity [ci skip]
2015-05-06 22:29:48 -07:00
Yves Senn
f4da2b7437 docs, fix spelling. refs #20040 [ci skip] 2015-05-06 10:43:33 +02:00
Ankit Gupta
81a87308bb Adding a note, snipped for brevity
sudden ending of form looks incomplete and catches [ci skip]
2015-05-05 18:58:56 -04:00
Ankit gupta
a29d21c69d Using the real C and R def of Crud [ci skip] 2015-05-05 11:33:25 -04:00
Zachary Scott
1d73cdadb3 Merge pull request #20031 from trayo/master
Fixes some words missing from the contributing guide [ci skip]
2015-05-05 08:00:05 -07:00
Ankit gupta
72c5b517d4 Tiny grammar correction in documentation [ci skip] 2015-05-05 10:52:53 -04:00
Yves Senn
a7e2ae3594 Merge pull request #19868 from createdbypete/guides-postgres-uuid-pgcrypto
Provide mention of pgcrypto extension for Postgres UUID support

[ci skip]
2015-05-05 09:19:26 +02:00
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
Peter Rhoades
54becc9561 Provide mention of pgcrypto extension for uuids
From the Postgresql 9.4+ docs

> If you only need randomly-generated (version 4) UUIDs, consider using
  the gen_random_uuid() function from the pgcrypto module instead.

[ci skip]
2015-05-04 15:19:31 +10: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
Prathamesh Sonpatki
33f83401ad Updated titles of headers in Action Mailer guide 2015-04-28 15:46:35 +05:30
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
Prathamesh Sonpatki
a931971368 Replaced Javascript with JavaScript in guides 2015-04-28 13:41:44 +05:30
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
Prathamesh Sonpatki
3379ebc270 Fix method name for building associated object in nested_model_forms guide 2015-04-25 16:02:39 +05:30
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
Mikhail Dieterle
16c51bc84a [ci skip] fix count of options for find_each 2015-04-23 09:10:40 +03:00
Alexey Markov
bd41f68f40 Fix find_each options [ci skip] 2015-04-22 21:37:38 +03:00
yui-knk
571e8bc98c [ci skip] deep_dup is instance method of Hash 2015-04-22 09:54:40 +09: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
23fc9980ef [ci skip] deep_dup is instance method of Array 2015-04-21 21:44:03 +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
3cd422fece [ci skip] Fix returned values of code sample 2015-04-19 23:38:46 +09: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
Jon Atack
32f7491808 Upgrade to Ruby 2.2.2
and fix the grammar in the ruby_version_check.rb user message.
2015-04-14 08:41:56 +05:30
Vijay Dev
8ac458ad2e Merge branch 'master' of github.com:rails/docrails 2015-04-14 02:07:26 +00:00
Carlos Antonio da Silva
ea97c763c1 Merge pull request #19742 from vngrs/config_autoload_paths_wrong_doc
Fix the wrong documentation about config.autoload_paths [ci skip]
2015-04-13 08:27:11 -03:00
Carlos Antonio da Silva
f54e89bf59 Improve note about unique index and foreign key on has_one association
Related to f1af967e0055a33c45071848a049ff342e9c291e. [ci skip]
2015-04-13 08:13:16 -03:00
Mehmet Emin İNAÇ
45747a5572 Fix the wrong documentation about config.autoload_paths [ci skip]
config.autoload_paths is not changeable from environment specific configuration files.
2015-04-13 11:56:50 +03:00
Zachary Scott
f1af967e00 Add note wrt foreign key constraint to ensure data integrity
Thanks for patch @sgrif :trollface:

Closes #18216
2015-04-12 20:20:48 -07:00
Zachary Scott
da5fe3be1f Apply comments from @rafaelfranca: we shouldn't recommend you use scaffold css
Closes #19492 and fixes #19453
2015-04-12 18:11:14 -07:00
Zachary Scott
558597c0f8 Merge pull request #19564 from jonatack/counter_cache_docs
[skip ci] Fix counter_cache in the Rails Guides
2015-04-12 16:29:09 -07:00
Zachary Scott
8b0aa0c1b1 Some copy edits for modifying View Paths [ci skip] 2015-04-12 14:43:25 -07:00
Zachary Scott
66f3ec6746 Merge branch 'view_paths' of https://github.com/nishantmodak/rails into nishantmodak-view_paths 2015-04-12 14:25:14 -07:00
Nishant Modak
69283303f3 view paths docs [ci skip] 2015-04-13 01:41:48 +05:30
Kasper Timm Hansen
efaec3dd63 Merge pull request #19732 from wazery/patch-2
[ci skip] Update contributing guide
2015-04-12 16:32:00 +02:00
Islam Wazery
2e1d69ea97 [ci skip] Update contributing guide 2015-04-12 16:23:42 +02:00
Robin Dupret
5493e9c7f8 Fix a few typos and wrap some lines [ci skip] 2015-04-12 15:34:28 +02:00
yuuji.yaginuma
3b88493bbb remove reference to register_javascript_expansion and register_stylesheet_expansion from guide [ci skip]
These methods no longer exists.
2015-04-12 14:52:28 +09:00
Carlos Antonio da Silva
193297abc8 Remove mention of super old defined_javascript_functions method [ci skip]
It was removed long ago: e358b1fce8fdcbac896dde08286be020420e843e.
2015-04-11 17:57:54 -03:00
Islam Wazery
4521aadae0 Rename railties/bin to railties/exe
That will match the new Bundler executables convention.
Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
Also updated the necessary tests.
2015-04-11 19:26:34 +02:00
eileencodes
6ad9e2c4a5 [ci skip] Remove link_to_function and button_from_function from guides
These methods were removed in cb9f7f4 and are no longer methods in the
Rails codebase.
2015-04-11 08:47:44 -04:00
Jon Atack
478a755387 [skip ci] primay_key -> primary_key 2015-04-11 15:38:07 +05:30
Zachary Scott
d2998764c5 Copy edits for primary_key documentation in association guide. [ci skip] 2015-04-10 17:27:40 -07:00
Zachary Scott
47dc07313b Merge branch 'belongs_to_primary_key_doc' of https://github.com/girishso/rails into girishso-belongs_to_primary_key_doc 2015-04-10 17:20:40 -07:00
Mikhail Dieterle
8ec88a1b9e [ci skip] add missing file extension 2015-04-10 23:07:04 +03:00
Mikhail Dieterle
81b291915c [ci skip] format rake output 2015-04-10 22:55:19 +03:00
Mikhail Dieterle
746695d6c8 [ci skip] fix helper name 2015-04-10 22:35:46 +03:00
yui-knk
fdcc71d014 [ci skip] Wrap with double quotation 2015-04-10 13:54:25 +09:00
yui-knk
e9df18436b [ci skip] Downcases filter names 2015-04-10 13:33:02 +09:00
Eliot Sykes
fc11ea4a0d Add Active Job to Configuring Guide [ci skip] 2015-04-09 18:41:46 +01:00
Nishant Modak
7f178c83de Fix URL rails-framework-hooks 2015-04-07 01:19:30 +05:30
yuuji.yaginuma
cb04fa41e7 correct the directory which rake notes look by default [ci skip] 2015-04-06 23:48:49 +09:00
yui-knk
1917719f00 [ci skip] Remove Extensions to Proc chapter section
`Proc#bind` is removed with 4.1 release
2015-04-06 08:37:27 +09:00
Szymon Madeja
1fda385cdf Update command_tasks source code 2015-04-05 17:10:40 +02:00
Robin Dupret
9cc41c36f7 Fix a few typos [ci skip] 2015-04-05 15:58:43 +02:00
Yves Senn
0eab204c0e Merge pull request #19644 from y-yagi/auto_discovery_link_tag_doc
correct output of auto_discovery_link_tag [ci skip]
2015-04-05 10:55:13 +02:00
Mehmet Emin İNAÇ
75c32edd9d change REQUEST_URI to PATH_INFO
request.env['REQUEST_URI'] returns full URI of the resource
request.env['PATH_INFO'] returns only path of the resource
2015-04-04 21:16:58 +03:00
yuuji.yaginuma
e2d9e85368 correct output of auto_discovery_link_tag [ci skip] 2015-04-04 07:37:23 +09:00
yui-knk
a21a8192aa [ci skip] Replace reraised with not captured 2015-04-02 00:26:18 +09:00
Konstantinos Rousis
8f092302aa [ci skip] fix guides example on arbitrary SQL execution 2015-04-01 16:03:41 +02:00
yui-knk
0f26977d09 [ci skip] Remove unnecessary lines 2015-04-01 20:02:56 +09:00
yui-knk
66bf962a7a [ci skip] Add : 2015-04-01 19:59:54 +09:00
yui-knk
8f73c3ff61 [ci skip] Fix :having option with having method 2015-04-01 13:45:56 +09:00
Jonan Scheffler
21a2d9a987 Update routing.md
This adds instructions for routing to rack applications with mount instead of match.

I just spent an unreasonable amount of time staring at this, hopefully the next person will save some time. It's possible that the docs should simply advise people to use mount and leave out the match method but I don't know enough about the differences in the two approaches to assert that definitively.
2015-04-01 00:37:23 -03:00
Eliot Sykes
d402268d78 Remove unused subdir deployment considerations section [ci skip] 2015-03-31 18:47:45 +01:00
Kir Shatrov
afbd6559f9 No need to mention unit tests in testing guide anymore 2015-03-31 14:38:28 +03:00
Kir Shatrov
851621bf19 New test runner syntax in testing guide 2015-03-31 14:38:28 +03:00
Kir Shatrov
487aa51b14 Suggest new hash syntax in testing guide 2015-03-31 14:38:28 +03:00
Kir Shatrov
3cee8ce2e8 Don't suggest bin/rails test controllers 2015-03-31 13:45:17 +03:00
Hendy Tanata
b016533d5b Add missing "of" to testing guide. 2015-03-30 09:15:54 -07:00
Matthew Draper
cb01246721 Merge pull request #19034 from jvanbaarsen/explicit-job-base-class
Add explicit base class for ActiveJob jobs
2015-03-30 23:04:25 +10:30
Matthew Draper
ffd2f085a5 Merge branch 'kirs' 2015-03-30 17:06:09 +10:30
Kir Shatrov
09d2623783 Switch to bin/rails test in testing guide
rails/rails#18305
2015-03-30 00:11:02 +03:00
Zachary Scott
e8a334a9ee Merge pull request #19483 from yui-knk/fix/getting_started
[ci skip] Fix an object of `reference`
2015-03-29 12:52:19 -07:00
Jon Atack
676514c082 [skip ci] Fix counter_cache in the Rails Guides
In the AR Associations Guide, this PR fixes:

- The counter_cache declaration is now shown only in the `belongs_to`
association.

- The docs stated that the counter_cache declaration needs to be on the
`has_many` side; now corrected to the `belongs_to` side.

- Split the custom column explanation out to a separate paragraph.

- Simplify the NOTE because it is true both with and without a custom
column name.
2015-03-28 11:23:11 +05:30
Santosh Wadghule
2e1fefffab Remove old and not working link. [ci skip] 2015-03-28 01:09:52 +05:30