| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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]
|
|
|
|
| |
Also modify to use Ruby 1.9+ syntax.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
There are several edits here, but in particular it updates the
guide to reflect 451437c.
|
|\
| |
| | |
Correct link for model generator field types
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
- It accepts `precision` option, not `number_with_precision`.
|
| |
| |
| |
| | |
instance variables are set.[ci skip]
|
| | |
|
| | |
|
| |
| |
| | |
Fix a small typo on doc: "caches_pages" -> "caches_page".
|
| | |
|
| |
| |
| |
| |
| |
| | |
Following commit removed reference to rails 4, but there is one left.
https://github.com/rails/rails/commit/a9f50f87c38659d0e9425f86f613cf5328d55d27
|
| |
| |
| |
| | |
Follow up to #24436
|
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
|\ \
| | |
| | | |
Update Syntax Highlighter to version 4 [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
|/ / |
|
| |
| |
| |
| | |
ref #18961, #23099.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Related to issue #25581
https://github.com/rails/rails/issues/25581
|
| |
| |
| |
| |
| | |
See issue #25581:
https://github.com/rails/rails/issues/25581
|
| |
| |
| |
| |
| |
| | |
From the style guide:
When writing headings, capitalize all words except for prepositions,
conjunctions, internal articles, and forms of the verb "to be":
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Publish Rails 5 release notes
|
| | | |
|
|\ \ \
| | | |
| | | | |
Update testing guide for Rails 5
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- 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.
|
|\ \ \ \
| | | | |
| | | | | |
Update release notes for 5.0 [ci skip]
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
guide [ci skip]
- Also to_time_preserves_timezone config should be false for older apps getting upgraded to Rails 5 [ci skip]
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
Mentions missing config options and fixes headers for section talking
about new framework defaults.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
- 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.
|
|\ \ \
| | | |
| | | |
| | | | |
This is an slight refactoring/improved version of #25586.
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Add following.
* https://github.com/rails/rails/commit/05934d24aff62d66fc62621aa38dae6456e276be
* https://github.com/rails/rails/commit/38d2bf5fd1f3e014f2397898d371c339baa627b1
* https://github.com/rails/rails/pull/25469
|
|\ \
| | |
| | | |
Add API Apps to release notes
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Pass over Upgrading 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.
|