Commit Graph

4520 Commits

Author SHA1 Message Date
Santosh Wadghule
d8575289a2 rails -> Rails [ci skip] 2016-07-12 12:21:36 +05:30
Vijay Dev
b76808602d Merge branch 'master' of github.com:rails/docrails 2016-07-10 10:58:39 +00:00
chen7897499
e3392642b8 Fix typo: caches_pages to caches_page.
Fix a small typo on doc: "caches_pages" -> "caches_page".
2016-07-07 14:34:31 +08:00
Gaurav Sharma
ef4972a338 update doc for prefer require_relative over require + File.expand_path [ci skip] 2016-07-07 01:54:57 +05:30
willnet
9da3720ba9 [ci skip] Remove reference to Rails 4 in the initialization guide.
Following commit removed reference to rails 4, but there is one left.

a9f50f87c3
2016-07-06 22:57:24 +09:00
Santiago Pastorino
3a62dacd71 Merge pull request #25708 from maclover7/jm-master-bugreports
Bump version for master bug report templates
2016-07-06 08:57:34 -03:00
yuuji.yaginuma
2a45296114 remove -t option from default sendmail arguments [ci skip]
Follow up to #24436
2016-07-06 18:57:53 +09:00
Prathamesh Sonpatki
32426cec27
Fix documentation for number_with_precision helper in AV guide [ci skip]
- It accepts `precision` option, not `number_with_precision`.
2016-07-06 10:45:09 +05:30
Jon Moss
d3165fc84d
Bump version for master bug report templates 2016-07-05 20:10:19 -04:00
Josh Justice
41c3ebaf38 Add header demarcation to Action Cable guide
Guide generation is configured to detect a guide header by a 40-or-more-hyphen long line. The Action Cable guide was missing this line, so the page title on the guides site was only showing "Ruby on Rails Guides", and the section title in the Kindle index was "Ruby on Rails Guides". Adding the header demarcation line back in fixes both of these.

Fixes #25697

[ci skip]
2016-07-05 08:13:18 -04:00
Xavier Noria
9bdf08c5a5 Merge pull request #25663 from vipulnsward/updated-syntax-highlighter
Update Syntax Highlighter to version 4 [ci skip]
2016-07-04 08:05:16 +02:00
Vipul A M
9a53b0f44a
- Update Syntax Highlighter to version 4.
- Build Syntax Highlighter based on https://github.com/syntaxhighlighter/syntaxhighlighter/wiki/Building and use theme generated by fxn.
- This also bundles these brushes in the file itself- ruby,css,xml,sql,javascript,plain. Generation command used:
gulp build --compat --brushes=javascript,ruby,xml,sql,plain --theme=/Path/To/RailsSource/rails/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
- rm all old js and css files
- Moved over how JS configuration is created for Syntax Highlighter
- Fixed layout for all imports
- Fixes bug with old copy paste, generating wrong space character on webkit 7caa9632e7/src/dom.js (L227)

 Fixes #25655
2016-07-03 00:20:27 -07:00
Vipul A M
5324665e9f
Expand on Instance variables section with an example and specify when the instance variables are set.[ci skip] 2016-07-02 21:50:49 -07:00
William Johnston
b96e5ea2e1 Update Rails 5 release notes with syntax fixes. 2016-07-02 18:13:35 -05:00
Aditya Kapoor
3f7d85bdd5 Correct guide generation command [ci skip] 2016-07-02 15:18:27 +05:30
Vipul A M
44c7507657
Fix number_with_precision documentation for precision [ci skip] 2016-07-02 02:42:43 -07:00
Ryuta Kamizono
7eb6443dde Deprecation passing of start value was removed [ci skip]
ref #18961, #23099.
2016-07-01 14:18:24 +09:00
Vipul A M
1cf1d02357
Mark Testing Guide as pubished and reword the title[ci skip] 2016-06-30 12:56:47 -07:00
Alex Kitchens
e517a37cef [ci skip] Fix Typos and Punctuation in Guides - Upgrading 2016-06-30 14:36:44 -05:00
Rodrigo Rosenfeld Rosas
21a5841b1f Add a Rails 5 release note for ActionController::Live becoming a Concern
Related to issue #25581

https://github.com/rails/rails/issues/25581
2016-06-30 14:51:43 -03:00
Rodrigo Rosenfeld Rosas
39b576a31a Add an upgrade note related to ActionController::Live becoming a Concern
See issue #25581:

https://github.com/rails/rails/issues/25581
2016-06-30 14:37:39 -03:00
eileencodes
d0a5f878d3 Fix styles of headings to follow guide rules
From the style guide:
When writing headings, capitalize all words except for prepositions,
conjunctions, internal articles, and forms of the verb "to be":
2016-06-30 12:38:35 -04:00
Alex Kitchens
9118ce596c Change wording & punctuation in Guides - Upgrading 2016-06-30 11:31:33 -05:00
Xavier Noria
11841527fc fixes config value [ci skip] 2016-06-30 17:58:45 +02:00
Xavier Noria
b036b7a810 expands a bit a section of the upgrade guide [ci skip] 2016-06-30 17:50:37 +02:00
Eileen M. Uchitelle
21f72a4d34 Merge pull request #25587 from vipulnsward/publish-release-notes
Publish Rails 5 release notes
2016-06-30 11:25:37 -04:00
Eileen M. Uchitelle
c34ca6d46f Merge pull request #25596 from prathamesh-sonpatki/testing-guide-50
Update testing guide for Rails 5
2016-06-30 11:25:26 -04:00
Eileen M. Uchitelle
ff6173a967 Merge pull request #25598 from prathamesh-sonpatki/release-notes--1
Update release notes for 5.0 [ci skip]
2016-06-30 11:25:11 -04:00
Prathamesh Sonpatki
370507ba10
Add a note about autoloading being disabled in production env in upgrade guide [ci skip]
- Also to_time_preserves_timezone config should be false for older apps getting upgraded to Rails 5 [ci skip]
2016-06-30 20:45:45 +05:30
eileencodes
f78c004fdc Update upgrade guides
Mentions missing config options and fixes headers for section talking
about new framework defaults.
2016-06-30 11:01:48 -04:00
Prathamesh Sonpatki
7266c6055d
Update release notes for 5.0 [ci skip] 2016-06-30 20:22:40 +05:30
Prathamesh Sonpatki
61ec678dff
Update testing guide for Rails 5 release [ci skip]
- Update the testing guide as per output of test runner.
- Show how to see all the options provided by test runner.
- We no longer generate fixture named :first.
- Update the request methods with URL helpers and also fix few wrong occurrences.
- Generated test case does not have assert_includes for response body.
- This removes code from https://github.com/rails/rails/commit/ca83436d
  but I think that might be oversight. We don't generate such code in
  the generated controller test.
- Update the helper example to suite the integration style of tests.
- We can't modify session directly in new integration style controller
  tests.
- Show an example which matches with integration style request tests.
- Active Job default adapter for tests is async, not test.
- Fix the example of request headers and CGI variables.
2016-06-30 19:56:20 +05:30
Prathamesh Sonpatki
60cc84bfdf
Update getting started guide for Rails 5 [ci skip]
- Rails 5 will return 204 No Content by default for controller actions
  which do not have a template or do not specify how to render.
- The "Getting started" guide needs to be updated for this.
2016-06-30 19:35:25 +05:30
eileencodes
bb9a4f3f6d Merge branch 'add-test-runner-to-release-notes'
This is an slight refactoring/improved version of #25586.
2016-06-30 09:01:12 -04:00
Vipul A M
a683240a32 Add test runner features to release notes [ci skip] 2016-06-30 08:22:43 -04:00
yuuji.yaginuma
93552cbe94 add missing things to release notes [ci skip]
Add following.

* 05934d24af
* 38d2bf5fd1
* https://github.com/rails/rails/pull/25469
2016-06-30 15:30:47 +09:00
Vipul A M
6836140090
Expand on #24071 for specifying custom locale fallbacks. [ci skip] 2016-06-29 19:05:19 -07:00
Vipul A M
d04a360b8d
Publish Rails 5 release notes[ci skip] 2016-06-29 18:59:37 -07:00
Eileen M. Uchitelle
fe054e02b2 Merge pull request #25583 from vipulnsward/add-api-apps-to-release-notes
Add API Apps to release notes
2016-06-29 21:08:27 -04:00
Vipul A M
5609e0021f
Add API Apps to release notes[ci skip] 2016-06-29 17:39:53 -07:00
eileencodes
ed6eb8276a Fix release notes link 2016-06-29 20:01:03 -04:00
Eileen M. Uchitelle
178792ab34 Merge pull request #25584 from vipulnsward/upgrading-guide
Pass over Upgrading guide
2016-06-29 19:55:48 -04:00
Vipul A M
2dfcc87736
Pass over Upgrading guide [ci skip] 2016-06-29 16:53:28 -07:00
eileencodes
010548ab41 Add note about release notes in upgrade guide
It's useful to have a link to the release notes in the upgrade guide for
a clearer view of what changed in Rails.
2016-06-29 19:44:17 -04:00
eileencodes
2ee57cc9a0 Update release notes about legacy mysql adapter
Make release notes about legacy `mysql` adapter clearer.
2016-06-29 19:37:26 -04:00
eileencodes
3d252a02ae Update Rails 5 upgrade guides
Adds missing upgrade items to the upgrade guides for Rails 5. Fixes some
typos and whitespace as well.
2016-06-29 19:26:56 -04:00
yuuji.yaginuma
e9a909c162 update description of test_order [ci skip]
Follow up to 5f777e4b5ee2e3e8e6fd0e2a208ec2a4d25a960d
2016-06-29 17:15:41 +09:00
Godfrey Chan
ffded19faf Clearify CHANGELOG for #23011 [ci skip] 2016-06-27 08:37:06 -07:00
Godfrey Chan
bdf80369ef Add #16917 to 5.0.0 release notes 2016-06-27 08:28:24 -07:00
Vijay Dev
5343626ea8 Merge branch 'master' of github.com:rails/docrails
Conflicts:
	actioncable/README.md
2016-06-26 16:34:23 +00:00