aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #26390 from Neodelf/format_mdsVipul A M2016-09-074-8/+8
|\ | | | | [ci skip] Simply formatting documents
| * [ci skip] Simply formatting documentsNeodelf2016-09-064-8/+8
| |
* | Remove the word "mongrel" from documentsRyunosuke Sato2016-09-074-4/+4
| | | | | | | | | | | | | | | | | | Currently mongrel is not maintained. And it couldn't be built with any Ruby versions that supported by Rails. It is reasonable to remove the word "mongrel" in order to avoid confusion from newcomer.
* | Minor grammar fix in engines.mdMark Sun2016-09-061-1/+1
|/
* Update docs for change in transaction callback exceptionsNathan Wenneker2016-09-032-1/+9
| | | | | | | | | 07d3d40 changed how exceptions are handled in after_commit and after_destroy callbacks. This commit updates the 5.0 release notes and the ActiveRecord callback guide to reflect the new behavior. [ci skip]
* add Active Job bug report templates to guide [ci skip]yuuji.yaginuma2016-09-031-0/+1
| | | | Follow up to #26362
* Improve Getting Started [ci skip]Shia2016-09-021-2/+1
|
* Grammar fix [ci skip]Waitaya Krongapiradee2016-09-021-1/+1
|
* Update Jason Zimdars twitterDevinsuit2016-08-311-1/+1
|
* Merge pull request #26226 from schneems/schneems/explicit-public-urlsRichard Schneeman2016-08-312-0/+15
|\ | | | | Make public asset use explicit
| * Explicitly mention defaults.schneems2016-08-292-2/+2
| |
| * Address doc style comments from @robin850schneems2016-08-291-1/+1
| |
| * Fix asset_pipeline.md miss-mergeschneems2016-08-291-7/+7
| |
| * Specify version of Sprockets-rails this will be inschneems2016-08-291-1/+1
| |
| * Move default to different initializerschneems2016-08-291-12/+0
| | | | | | | | | | Is this usage correct? cc/ @prathamesh-sonpatki
| * [ci skip] configuring.md assets.unknown_asset_fallbackschneems2016-08-291-0/+2
| |
| * [ci skip] asset_pipeline.md assets.unknown_asset_fallbackschneems2016-08-291-7/+20
| |
| * [ci skip] Upgrading assets.unknown_asset_fallbackschneems2016-08-291-0/+12
| |
* | Merge pull request #26331 from kjellberg/broken-linksJon Moss2016-08-303-3/+3
|\ \ | | | | | | [ci skip] Broken links in documentation fix
| * | [ci skip] Broken links in documentation fixRasmus Kjellberg2016-08-303-3/+3
| | |
* | | Update typo & Make explanation more clearShia2016-08-311-12/+7
| |/ |/|
* | [ci skip] Update branch version in Contributing GuideAlex Kitchens2016-08-291-1/+1
|/ | | | | Since only Rails 4 and above are currently supported, this updates a 3-2-stable example to be consistent with the support standard.
* Added gitignore to "files & purpose" list [ci skip]Rasmus Kjellberg2016-08-291-0/+1
|
* Merge pull request #26288 from maclover7/jm-revert-21995Guillermo Iguaran2016-08-261-7/+11
|\ | | | | Update `Rails.configuration` documentation
| * Clarify two ways to set Rails configuration optionsJon Moss2016-08-261-5/+8
| | | | | | | | [ci skip]
| * Add back in `config_for` exampleJon Moss2016-08-261-0/+28
| | | | | | | | [ci skip]
| * Revert "Merge pull request #21995 from tak1n/master"Jon Moss2016-08-261-35/+8
| | | | | | | | | | This reverts commit 4973704bf56dbb0d8beba977e1053d57e346ebd0, reversing changes made to 78edeb33346e13ab33a62d2a6b553aabf5b3186a.
* | Move `assert_nothing_raised` method to Rails Specific AssertionsSantosh Wadghule2016-08-261-1/+1
|/ | | | | | | | section [ci skip] - Method `assert_nothing_raised` is Rails' own custom assertion method and not a part of Minitest. So move it from Minitest assertions section to Rails Specific Assertions section.
* Rename the title of comand_line.md in indexShia2016-08-241-2/+2
| | | | Remove 'rake tasks' from index
* update `is renamed` to `tasks are renamed`Shia2016-08-231-1/+1
|
* Remove Duplicated information & fix typo...Shia2016-08-231-12/+6
| | | | | - Remove Duplicated explanation. - Fix some typo. - Attach PR, commit link that missed one.
* Merge pull request #26249 from rafamanzo/add_redis_to_development_dependenciesRafael França2016-08-221-0/+43
|\ | | | | Update docs with Action Cable Redis dependency
| * [ci skip] Update docs with Action Cable Redis dependencyRafael Reggiani Manzo2016-08-221-0/+43
| | | | | | | | | | | | | | Action Cable's test `test/subscription_adapter/redis_test.rb` fail if Redis is not installed and running. Following the guides `development_dependen there's no mention to this.
* | Remove the SchemaDumper options and change the default behaviorRafael Mendonça França2016-08-221-3/+1
| | | | | | | | | | Now the schema dumper by default doesn't align the types and arguments in the ruby format anymore.
* | Remove `:action` and `:controller` segments from routing guideWill Jordan2016-08-221-25/+11
| | | | | | | | | | Fixes #26247. [ci skip]
* | Merge pull request #25750 from go2null/go2null-test-directoriesEileen M. Uchitelle2016-08-221-2/+4
|\ \ | |/ |/| Specified directories for routes, views and jobs tests
| * Clearly state purpose of test directoriesgo2null2016-08-221-2/+4
| | | | | | | | | | * Added location for route, view and job tests to section 2.1. (They are currently only defined in sections 8 Testing Views and 11 Testing Jobs.) * Added location for route test in section 7 Testing Routes. (Currently only defined in section 8 Testing Views.)
* | Change form of table name to plural in query exampleDanila Ermakov2016-08-221-2/+2
| |
* | Update docs for query interface to not declare that all methods return ↵Scott Antipa2016-08-211-3/+3
| | | | | | | | instance of ActiveRecord::Relation
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-08-215-8/+8
|\ \
| * | When referring to Rails, be consistent in usage of capitalized form, unless ↵Vipul A M2016-08-193-4/+4
| | | | | | | | | | | | it is used in context of a command like bin/rails or the rails directory [ci skip]
| * | Grammar changes on getting started guide, specify where exactly the example ↵Vipul A M2016-08-191-2/+2
| | | | | | | | | | | | is that we are referring to. [ci skip]
| * | Fix remaining broadcasting_name example from Action Cable guide [ci skip]Prathamesh Sonpatki2016-08-121-2/+2
| | | | | | | | | | | | - Followup of https://github.com/rails/rails/pull/26125.
* | | Merge pull request #26224 from jonatack/consistent-asset-precompile-examplesEileen M. Uchitelle2016-08-194-8/+8
|\ \ \ | | | | | | | | Consistent examples and template for assets#precompile
| * | | Consistent examples and template for assets#precompileJon Atack2016-08-194-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Listening to a few developers today discussing their troubles in understanding how to use the asset pipeline, it turns out that the precompile examples in the guides and assets.rb template have over time become a bit inconsistent. This PR makes the examples consistent in code style, spacing, and asset names, removes the old 'swfObject.js' example, and in a couple of places wraps lines at 80 characters including in the assets.rb template. Re-add spaces inside array parentheses.
* | | | Merge pull request #25675 from TimPetricola/schema-no-standardized-column-widthsRafael Mendonça França2016-08-191-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | Option not to line up column attributes in schema.rb
| * \ \ \ Merge branch 'master' into schema-no-standardized-column-widthsTim Petricola2016-08-182-1/+3
| |\ \ \ \
| * | | | | Option not to line up column types and attributes in schema.rbTim Petricola2016-08-171-1/+3
| | | | | |
* | | | | | [ci skip] Updates ActiveJob guide on default runner.Phil Nash2016-08-181-3/+4
| |/ / / / |/| | | | | | | | | | | | | | The immediate runner is no longer default, the async adapter is.
* | | | | i18n documentation for required belongs_to messageIan C. Anderson2016-08-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you don't explicitly provide `optional: true` to a `belongs_to` definition, rails adds a validation to ensure presence of the `belongs_to` validation. However, when the validation is added, it is added with a message key of `:required`, which was not documented in the "Translations for Active Record Models" section of the i18n guides. Here are the lines that add the `:required` message: https://github.com/rails/rails/blob/c3e3577f9d5058382504773bf0d32afa15cb131e/activerecord/lib/active_record/associations/builder/belongs_to.rb#L136-L138 This commit adds the "non-optional association" validation to the table, so rails users know how to override the message for this validation. The default message is "must exist".