aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Allow `false` for `config.generators.system_tests=`bogdanvlviv2018-01-181-0/+1
| | | | | | | | | | | | | | | Mention `config.generators.system_tests` in the "Configuring Rails Applications" guide.
* | | Update "Layouts and Rendering in Rails" guide [ci skip]bogdanvlviv2018-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove mention about `ActionView::TemplateHandlers` since this module was removed by c1304098cca8a9247a9ad1461a1a343354650843. Change word `subclasses` to `nested classes`. See c7408a0e40545558872efb4129fe4bf097c9ce2f - Remove useless sentence "Beginning with Rails 2, the standard extensions are `.erb` for ERB (HTML with embedded Ruby), and `.builder` for Builder (XML generator)."
* | | Provide a sensible default hostGeorge Claghorn2018-01-161-3/+9
| | |
* | | Extract content types from blob dataGeorge Claghorn2018-01-151-0/+3
| | |
* | | Merge pull request #31651 from eugeneius/use_sha1_digestsSean Griffin2018-01-122-3/+5
|\ \ \ | | | | | | | | Use SHA-1 for non-sensitive digests by default
| * | | Use SHA-1 for non-sensitive digests by defaultEugene Kenny2018-01-082-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Instead of providing a configuration option to set the hash function, switch to SHA-1 for new apps and allow upgrading apps to opt in later via `new_framework_defaults_5_2.rb`.
* | | | Fix doc typo [ci-skip]Tom Copeland2018-01-121-1/+1
| | | |
* | | | Fix some broken links in guidesDorian Marié2018-01-114-9/+9
| | | |
* | | | Merge pull request #31653 from ydakuka/fix-typo-0801Eileen M. Uchitelle2018-01-115-5/+5
|\ \ \ \ | | | | | | | | | | Fix typos [ci skip]
| * | | | Fix typos [ci skip]Yauheni Dakuka2018-01-115-5/+5
| | | | |
* | | | | Merge pull request #31446 from bdewater/inverse-of-options-docsRyuta Kamizono2018-01-111-14/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix :inverse_of documentation
| * | | | | [ci skip] setting :inverse_of works with :as, :through and :polymorphic ↵Bart de Water2018-01-101-17/+9
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | options, and is needed for bi-directionality with a scope [ci skip] Remove :conditions opion from association basics guide This got replaced by scopes.
* | | | | Fix "the the " [ci skip]Ryuta Kamizono2018-01-102-2/+2
| | | | |
* | | | | Merge pull request #31534 from claudiob/kaspth-approachKasper Timm Hansen2018-01-091-3/+0
|\ \ \ \ \ | |_|/ / / |/| | | | Don't include Active Storage migrations in new apps
| * | | | Don't run rails active_storage:install in new appsclaudiob2017-12-141-3/+0
| | | | | | | | | | | | | | | | | | | | See #31315 for full discussion
* | | | | Fix the desc for image_alt change [ci skip]Prathamesh Sonpatki2018-01-071-1/+1
| | | | |
* | | | | Added deprecation and removal notes for Action View [ci skip]Prathamesh Sonpatki2018-01-071-2/+5
| | | | |
* | | | | Added deprecations and removals notes for Action Pack [ci skip]Prathamesh Sonpatki2018-01-071-2/+5
| | | | |
* | | | | Added release notes for Action Cable [ci skip]Prathamesh Sonpatki2018-01-071-1/+10
| |/ / / |/| | |
* | | | Move `config.action_view.cache_template_loading` to proper section in ↵fatkodima2018-01-031-2/+2
| | | | | | | | | | | | | | | | configuring.md [ci skip]
* | | | Added Railties deprecations in 5.2 release notes [ci skip]Prathamesh Sonpatki2018-01-011-2/+13
| | | |
* | | | Clarify that config.eager_load controls eager loading [ci skip]Eugene Kenny2017-12-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before Rails 4.0, `config.cache_classes` determined whether application code was eager loaded. The `config.eager_load` option was introduced to allow the two behaviours to be configured independently, but this documentation was never updated to reflect that change.
* | | | Tweak headings [ci skip]George Claghorn2017-12-291-16/+16
| | | |
* | | | Demonstrate providing keyfile data in lieu of a path [ci skip]George Claghorn2017-12-281-24/+33
| | | |
* | | | Link to the client gems [ci skip]George Claghorn2017-12-281-3/+4
| |/ / |/| |
* | | Update "Action View Overview" guide [ci skip]bogdanvlviv2017-12-261-6/+8
| | | | | | | | | | | | | | | | | | - Provide full / Fix generated HTML by `form_for` in the example. - Provide full params in the example. - Express params[:person] in the sentence.
* | | [docs] Add mention of removal of HWIA interface from `AC:Parameters`Jan Bussieck2017-12-221-0/+3
| | | | | | | | | | | | [ci skip]
* | | Revert "Specify bundler version in template files"SHIBATA Hiroshi2017-12-226-12/+0
| | | | | | | | | | | | This reverts commit b106242f52272c4a5ced7a0e9d1dcb1b50542501.
* | | Merge pull request #31177 from ↵Matthew Draper2017-12-201-2/+1
|\ \ \ | | | | | | | | | | | | | | | | albertoalmagro/remove-default-mysql-engine-from-ar-5-2 Remove default ENGINE=InnoDB for Mysql2 adapter
| * | | Remove default ENGINE documentation for MySQL and MariaDBAlberto Almagro2017-12-111-2/+1
| | | | | | | | | | | | | | | | | | | | Removes default ENGINE documentation hint for MySQL and MariaDB as we aren't taking measures to set the default ENGINE anymore.
* | | | [ci skip] Added Object Relational Mapping wiki linkDixit Patel2017-12-191-1/+1
| | | |
* | | | emphasize working on existing issues/patches for newcomers [ci skip]Xavier Noria2017-12-171-1/+3
| | | | | | | | | | | | | | | | Thanks to @Datasnuten for the suggestion.
* | | | Merge pull request #31316 from bogdanvlviv/update-association_basics-guideKasper Timm Hansen2017-12-161-3/+5
|\ \ \ \ | | | | | | | | | | Update "Active Record Associations" guide [ci skip]
| * | | | Update "Active Record Associations" guide [ci skip]bogdanvlviv2017-12-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make all `ActiveRecord::Base.find` as link - Remove redundant sentences "It also adds the additional condition that the object must be in the collection."
* | | | | Fix Active Storage Overview guide [ci skip]Yoshiyuki Hirano2017-12-161-5/+5
| | | | |
* | | | | [ci skip] Use :amazon, not :s3, to reflect codeClaudio B2017-12-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The [template](https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/config/storage.yml.tt#L10) that generates the `config/storage.yml` file has the Amazon S3 key specified as `:amazon`, not `:s3`. The guides should reflect the nomenclature, given that every other service also has the name of the company as the key (:google, :microsoft).
* | | | | Sync header title with file name [ci skip]Ryuta Kamizono2017-12-152-3/+3
| | | | | | | | | | | | | | | | | | | | Like other Basics and Overview guides.
* | | | | Fix in ASt guide [ci skip]Yauheni Dakuka2017-12-151-5/+5
| | | | |
* | | | | Fix guide generation error [ci skip]yuuji.yaginuma2017-12-151-10/+0
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, generation of guide is an error in `5_2_release_notes.html`. ``` $ bunele exec rake guides:generate:html Generating 5_2_release_notes.md as 5_2_release_notes.html rails/guides/rails_guides/markdown.rb:44:in `dom_id': undefined method `[]' for nil:NilClass (NoMethodError) from rails/guides/rails_guides/markdown.rb:106:in `block (2 levels) in generate_structure' ``` It seems that it is an error because there are multiple `active-storage` anchors. Since Active Storage is a Major feature, it is unnecessary to show CHANGELOGs, so remove from `Incompatibilities` section.
* | | | [ci skip] Add missing **DO NOT READ THIS FILE ON GITHUB, GUIDES ARE ↵Ryuta Kamizono2017-12-152-1/+2
| | | | | | | | | | | | | | | | PUBLISHED ON http://guides.rubyonrails.org.**
* | | | [ci skip] Update guide index for active storageYoshiyuki Hirano2017-12-151-0/+4
| | | |
* | | | Tweak whitespaceJeffrey Guenther2017-12-141-0/+1
| | | |
* | | | Formatting updatesJeffrey Guenther2017-12-141-14/+19
| | | |
* | | | Merge branch 'master' into activestorage-guideJeffrey Guenther2017-12-149-16/+70
|\ \ \ \
| * | | | Suppress `warning: BigDecimal.new is deprecated`Yasuo Honda2017-12-151-3/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `BigDecimal.new` has been deprecated in BigDecimal 1.3.3 which will be a default for Ruby 2.5. Refer https://github.com/ruby/bigdecimal/commit/533737338db915b00dc7168c3602e4b462b23503 * This commit has been made as follows: ``` cd rails git grep -l BigDecimal.new | grep -v guides/source/5_0_release_notes.md | grep -v activesupport/test/xml_mini_test.rb | xargs sed -i -e "s/BigDecimal.new/BigDecimal/g" ``` - `activesupport/test/xml_mini_test.rb` Editmanually to remove `.new` and `::` - guides/source/5_0_release_notes.md This is a Rails 5.0 release notes.
| * | | Merge pull request #30474 from yhirano55/make_it_same_title_in_index_and_pageEileen M. Uchitelle2017-12-135-12/+12
| |\ \ \ | | | | | | | | | | Make it same title in index and page [ci skip]
| | * | | Make it same title in index and page [ci skip]Yoshiyuki Hirano2017-08-315-12/+12
| | | | |
| * | | | Update 'Configuring Rails Applications' guidebogdanvlviv2017-12-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | - Add mention about `config.active_record.internal_metadata_table_name` - Add mention about `config.active_record.protected_environments`
| * | | | Remove stale comment about `ActiveRecord::SchemaDumper.ignore_tables` [skip ci]fatkodima2017-12-121-1/+1
| | | | |
| * | | | Merge pull request #31402 from yhirano55/update_routing_guide_for_direct_methodRyuta Kamizono2017-12-121-0/+43
| |\ \ \ \ | | | | | | | | | | | | [ci skip] Update routing guide for Direct & resolved routes