aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Update references generation docs to exclude indexJosh Justice2016-07-161-2/+2
| | | | | | In #23179 the migration generator was changed to no longer output `index: true` for `references` migrations. This updates the migrations guide to remove `index: true` from relevant examples. [ci skip]
* add missing braces [ci skip]yuuji.yaginuma2016-07-161-2/+2
| | | | Also modify to use Ruby 1.9+ syntax.
* Fix broken linkKazuhiro NISHIYAMA2016-07-151-1/+1
|
* Fix display of unsorted list in release notes of 5.0 [ci skip]rbr2016-07-141-3/+3
|
* fixes a link in the release notes of 5.0 [ci skip]Xavier Noria2016-07-141-1/+1
|
* finders guide: updates the section about batch processing [ci skip]Xavier Noria2016-07-141-15/+38
| | | | | There are several edits here, but in particular it updates the guide to reflect 451437c.
* Merge pull request #25748 from CodingItWrong/generator-field-types-linkVipul A M2016-07-131-1/+1
|\ | | | | Correct link for model generator field types
| * Correct link for model generator field typesJosh Justice2016-07-131-1/+1
| | | | | | | | | | | | The most complete list of field types appears in the `SchemaStatements` docs rather than the `TableDefinition` docs. The change to link to `SchemaStatements` means that the explanation for the `index` parameter is no longer available on the linked-to page. A brief explanation of the `index` parameter is added directly in the guide to make up for this.
* | [ci skip] Update redirecting links in guideskei-s2016-07-123-5/+5
| |
* | rails -> Rails [ci skip]Santosh Wadghule2016-07-122-2/+2
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-07-103-3/+18
|\ \ | |/ |/|
| * Fix documentation for number_with_precision helper in AV guide [ci skip]Prathamesh Sonpatki2016-07-061-1/+1
| | | | | | | | - It accepts `precision` option, not `number_with_precision`.
| * Expand on Instance variables section with an example and specify when the ↵Vipul A M2016-07-021-1/+14
| | | | | | | | instance variables are set.[ci skip]
| * Fix number_with_precision documentation for precision [ci skip]Vipul A M2016-07-021-1/+1
| |
| * Expand on #24071 for specifying custom locale fallbacks. [ci skip]Vipul A M2016-06-291-1/+3
| |
* | Fix typo: caches_pages to caches_page.chen78974992016-07-071-1/+1
| | | | | | Fix a small typo on doc: "caches_pages" -> "caches_page".
* | update doc for prefer require_relative over require + File.expand_path [ci skip]Gaurav Sharma2016-07-072-5/+5
| |
* | [ci skip] Remove reference to Rails 4 in the initialization guide.willnet2016-07-061-1/+1
| | | | | | | | | | | | Following commit removed reference to rails 4, but there is one left. https://github.com/rails/rails/commit/a9f50f87c38659d0e9425f86f613cf5328d55d27
* | remove `-t` option from default sendmail arguments [ci skip]yuuji.yaginuma2016-07-062-3/+3
| | | | | | | | Follow up to #24436
* | Add header demarcation to Action Cable guideJosh Justice2016-07-051-1/+3
| | | | | | | | | | | | | | | | 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]
* | Merge pull request #25663 from vipulnsward/updated-syntax-highlighterXavier Noria2016-07-041-6/+4
|\ \ | | | | | | Update Syntax Highlighter to version 4 [ci skip]
| * | - Update Syntax Highlighter to version 4.Vipul A M2016-07-031-6/+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 https://github.com/syntaxhighlighter/syntaxhighlighter/blob/7caa9632e7fe470d944fc06b4db7d35352ebaa36/src/dom.js#L227 Fixes #25655
* | | Update Rails 5 release notes with syntax fixes.William Johnston2016-07-021-3/+4
|/ /
* | Deprecation passing of `start` value was removed [ci skip]Ryuta Kamizono2016-07-011-4/+0
| | | | | | | | ref #18961, #23099.
* | Mark Testing Guide as pubished and reword the title[ci skip]Vipul A M2016-06-301-2/+1
| |
* | [ci skip] Fix Typos and Punctuation in Guides - UpgradingAlex Kitchens2016-06-301-16/+16
| |
* | Add a Rails 5 release note for ActionController::Live becoming a ConcernRodrigo Rosenfeld Rosas2016-06-301-0/+11
| | | | | | | | | | Related to issue #25581 https://github.com/rails/rails/issues/25581
* | Add an upgrade note related to ActionController::Live becoming a ConcernRodrigo Rosenfeld Rosas2016-06-301-0/+29
| | | | | | | | | | See issue #25581: https://github.com/rails/rails/issues/25581
* | Fix styles of headings to follow guide ruleseileencodes2016-06-301-20/+20
| | | | | | | | | | | | From the style guide: When writing headings, capitalize all words except for prepositions, conjunctions, internal articles, and forms of the verb "to be":
* | Change wording & punctuation in Guides - UpgradingAlex Kitchens2016-06-301-12/+11
| |
* | fixes config value [ci skip]Xavier Noria2016-06-301-1/+1
| |
* | expands a bit a section of the upgrade guide [ci skip]Xavier Noria2016-06-301-4/+15
| |
* | Merge pull request #25587 from vipulnsward/publish-release-notesEileen M. Uchitelle2016-06-301-1/+0
|\ \ | | | | | | Publish Rails 5 release notes
| * | Publish Rails 5 release notes[ci skip]Vipul A M2016-06-291-1/+0
| | |
* | | Merge pull request #25596 from prathamesh-sonpatki/testing-guide-50Eileen M. Uchitelle2016-06-301-42/+102
|\ \ \ | | | | | | | | Update testing guide for Rails 5
| * | | Update testing guide for Rails 5 release [ci skip]Prathamesh Sonpatki2016-06-301-42/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* | | | Merge pull request #25598 from prathamesh-sonpatki/release-notes--1Eileen M. Uchitelle2016-06-301-1/+36
|\ \ \ \ | | | | | | | | | | Update release notes for 5.0 [ci skip]
| * | | | Update release notes for 5.0 [ci skip]Prathamesh Sonpatki2016-06-301-1/+36
| | | | |
* | | | | Add a note about autoloading being disabled in production env in upgrade ↵Prathamesh Sonpatki2016-06-302-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | guide [ci skip] - Also to_time_preserves_timezone config should be false for older apps getting upgraded to Rails 5 [ci skip]
* | | | | Update upgrade guideseileencodes2016-06-301-6/+36
|/ / / / | | | | | | | | | | | | | | | | Mentions missing config options and fixes headers for section talking about new framework defaults.
* / / / Update getting started guide for Rails 5 [ci skip]Prathamesh Sonpatki2016-06-301-10/+12
|/ / / | | | | | | | | | | | | | | | - 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.
* | | Merge branch 'add-test-runner-to-release-notes'eileencodes2016-06-301-3/+16
|\ \ \ | | | | | | | | | | | | This is an slight refactoring/improved version of #25586.
| * | | Add test runner features to release notes [ci skip]Vipul A M2016-06-301-3/+16
| |/ /
* / / add missing things to release notes [ci skip]yuuji.yaginuma2016-06-301-7/+13
|/ / | | | | | | | | | | | | | | Add following. * https://github.com/rails/rails/commit/05934d24aff62d66fc62621aa38dae6456e276be * https://github.com/rails/rails/commit/38d2bf5fd1f3e014f2397898d371c339baa627b1 * https://github.com/rails/rails/pull/25469
* | Merge pull request #25583 from vipulnsward/add-api-apps-to-release-notesEileen M. Uchitelle2016-06-291-3/+28
|\ \ | | | | | | Add API Apps to release notes
| * | Add API Apps to release notes[ci skip]Vipul A M2016-06-291-3/+28
| | |
* | | Fix release notes linkeileencodes2016-06-291-1/+1
| | |
* | | Merge pull request #25584 from vipulnsward/upgrading-guideEileen M. Uchitelle2016-06-291-3/+3
|\ \ \ | | | | | | | | Pass over Upgrading guide
| * | | Pass over Upgrading guide [ci skip]Vipul A M2016-06-291-3/+3
| | | |
* | | | Add note about release notes in upgrade guideeileencodes2016-06-291-0/+2
| | | | | | | | | | | | | | | | | | | | It's useful to have a link to the release notes in the upgrade guide for a clearer view of what changed in Rails.