aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | [ci skip] Prefer credentials to secrets in docs.Kasper Timm Hansen2017-09-133-48/+29
| | | | | | | | | | | | | | | | | | | | | Removes most mentions of secrets.secret_key_base and explains credentials instead. Also removes some very stale upgrade notices about Rails 3/4.
* | | Update Getting Started with Rails [ci skip]Yoshiyuki Hirano2017-09-141-0/+2
|/ /
* | Fix created_at [ci skip]Yauheni Dakuka2017-09-131-1/+1
| |
* | Remove not used gems by default [ci skip]yuuji.yaginuma2017-09-111-2/+0
| | | | | | | | | | | | | | | | | | `rack-mount` switched to journey with 5f0b37c. Also, `rack-cache` will not be used unless you explicitly specify it. Ref: https://github.com/rails/rails/commit/037e50ec39c7c3d58a102a6584e2740652420d1d https://github.com/rails/rails/commit/1fc795468525d8622cdca474a54c8310a514aa46
* | fix type fully qualified [ci skip]Yauheni Dakuka2017-09-061-3/+3
| |
* | Clarify intentions around method redefinitionsMatthew Draper2017-09-011-1/+5
| | | | | | | | | | | | | | | | | | Don't use remove_method or remove_possible_method just before a new definition: at best the purpose is unclear, and at worst it creates a race condition. Instead, prefer redefine_method when practical, and silence_redefinition_of_method otherwise.
* | In Action View Overview guide, remove reference to custom helpersLuke Persola2017-08-301-1/+1
| | | | | | | | [ci skip]
* | Merge pull request #29964 from gwincr11/cg-partial-cachingEileen M. Uchitelle2017-08-301-0/+18
|\ \ | |/ |/| Add documentation about template partial caching
| * Add documentation about template partial cachingCory Gwin @gwincr112017-08-301-3/+21
| | | | | | | | | | | | | | Motivation: - #29423 surfaced some confusion about how template caching works when using partials across files with different mime types. This doc attempts to explain how this can be accomplished.
* | Use YAML syntax highlight for `config/locales/en.yml` [ci skip]Ryuta Kamizono2017-08-291-1/+1
| |
* | It should be "the resulting cache key", not "the resulting `cache-key`" [ci ↵Ryuta Kamizono2017-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skip] This is a partial revert of 07402aa1307a4ff71b4ef6581f95b8612238a6af. I also changed "cache-key" to "cache key" because "cache-key" appears only once in the repo. ``` % git grep '\bcache-key\b' | wc -l 1 % git grep '\bcache key\b' | wc -l 28 ```
* | Merge pull request #30447 from yhirano55/update_caching_with_railsEileen M. Uchitelle2017-08-291-3/+3
|\ \ | | | | | | Update Caching with Rails guide [ci skip]
| * | Update Caching with Rails guide [ci skip]Yoshiyuki Hirano2017-08-291-3/+3
| | |
* | | Update Rails I18n API guide [ci skip]Yoshiyuki Hirano2017-08-291-10/+10
|/ /
* | Merge pull request #30435 from yhirano55/fix_grammer_in_guide_for_javascriptVipul A M2017-08-271-6/+6
|\ \ | | | | | | Fix grammar in JavaScript in Rails [ci skip]
| * | Fix grammar in guide [ci skip]Yoshiyuki Hirano2017-08-281-6/+6
| | | | | | | | | | | | * I've fixed grammar problems in the guide about JavaScript in Rails.
* | | Remove trailing spaces [ci skip]Ryuta Kamizono2017-08-276-10/+10
|/ /
* | Correct wording and adding info [ci skip]Daniel Steele2017-08-261-1/+4
| | | | | | I had to do some I was unsure what kind of caching it was performing, and had to do some Googling. Also improves the wording.
* | Merge pull request #30394 from ydakuka/fixing-indentationRyuta Kamizono2017-08-245-11/+11
|\ \ | | | | | | Fix indentation [ci skip]
| * | Fix indentation [ci skip]Yauheni Dakuka2017-08-245-11/+11
| | |
* | | Update active_support_core_extensions.md [ci skip]Yauheni Dakuka2017-08-241-2/+2
| | |
* | | Merge pull request #30376 from willnet/belongs-to-dependent-optionRyuta Kamizono2017-08-241-6/+5
|\ \ \ | | | | | | | | [ci skip]Revert commits changing wrong place
| * | | [ci skip]Revert commits changing wrong placewillnet2017-08-241-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commits 5147ab121d628f29451c654a8c312d5a3f491ffb and 391043ab04007bfd4c4c4c8e8d3308c1eae60175. These commits looked to intend to change documents of has_many dependent options, but actually changed documents of belongs_to dependent options.
* | | | Merge pull request #30213 from ckundo/ccundiff-alt-text-defaultRafael Mendonça França2017-08-232-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | Do not generate default alt text for images
| * | | | Do not generate default alt text in image tagsCameron Cundiff2017-08-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Auto-generating content from the filename of an image is not suitable alternative text; alt text that isn't fully considered can be distracting and fatiguing for screen readers users (blind, low vision, dyslexic people). - Setting a filename fallback short circuits screen reader default behavior and configuration for blank descriptions. - Setting poor defaults also creates false negatives for accessibility linting and testing software, that makes it harder to improve application accessibility. *** - After this change, if authors leave images without alt text, screen readers will fallback to default behavior for missing alt text. - Also with this change, Automated linting and testing tools will correctly generate warnings. [Fixes #30096]
* | | | | Use https instead of http in guide [ci skip]Yoshiyuki Hirano2017-08-2318-27/+27
| | | | |
* | | | | Grammar fixJordan Sitkin2017-08-221-1/+1
| | | | | | | | | | | | | | | | | | | | Changed the phrase '... and many more high targets' to '... and many more high _profile_ targets'
* | | | | Fixing nginx configuration added missing semicolonIbrahim2017-08-221-1/+1
| | | | |
* | | | | missing backquotes [ci skip]Yauheni Dakuka2017-08-223-4/+4
| |_|/ / |/| | |
* | | | Update debugging_rails_applications [ci skip]Yauheni Dakuka2017-08-211-4/+4
| | | |
* | | | Merge pull request #28912 from kaspth/getting-started-form-withKasper Timm Hansen2017-08-211-67/+70
|\ \ \ \ | | | | | | | | | | [ci skip] form_with in the getting started guide.
| * | | | [ci skip] form_with in the getting started guide.Kasper Timm Hansen2017-08-211-67/+70
| |/ / / | | | | | | | | | | | | Add back a bit about a resource oriented style of routing.
* | | | Fix link Contributing Ruby on Rails [ci skip]Yoshiyuki Hirano2017-08-211-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Contributing to the Rails Code link. * Wiki link for Spanish is redirect. * The base branch of Polish repo is master. And Turkish is, too. * Unified expression `rails-dev-box` * The Clone url is wrong. * The mailing list url is old.
* | | | Update Contributing to Ruby on Rails guide [ci skip]Yoshiyuki Hirano2017-08-211-1/+1
| | | |
* | | | Merge pull request #30343 from yhirano55/update_generator_guideVipul A M2017-08-211-4/+8
|\ \ \ \ | | | | | | | | | | Update generator guide [ci skip]
| * | | | Update generator guide [ci skip]Yoshiyuki Hirano2017-08-211-4/+8
| | | | |
* | | | | Update Rails on Rack guide [ci skip]Yoshiyuki Hirano2017-08-211-1/+1
|/ / / /
* | | | Update result of autoload_paths in Autoloading and Reloading Constants guide ↵Yoshiyuki Hirano2017-08-211-1/+10
| | | | | | | | | | | | | | | | [ci skip]
* | | | Update Debugging Rails Applications guide [ci skip]Yoshiyuki Hirano2017-08-201-13/+9
| | | |
* | | | Merge pull request #30331 from ↵George Claghorn2017-08-191-7/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | yhirano55/update_rails_initialization_process_guide Update The Rails Initialization Process of guide [ci skip]
| * | | | Update The Rails Initialization Process of guide [ci skip]Yoshiyuki Hirano2017-08-201-7/+10
| | | | |
* | | | | Update database config in The Rails Comamnd Line of guide [ci skip]Yoshiyuki Hirano2017-08-201-4/+7
|/ / / /
* | | | Fix doc format in Active Storage Setup [ci skip]Koichi ITO2017-08-191-1/+1
| | | | | | | | | | | | | | | | Follow up of 2ebb284ef5bf2c36bd8ba0a4524cab83810f12ab.
* | | | Use ssl in guide and comment [ci skip]Yoshiyuki Hirano2017-08-198-15/+15
| | | |
* | | | Use https instead of http or git in guide [ci skip]Yoshiyuki Hirano2017-08-191-8/+8
| | | | | | | | | | | | | | | | * Update url in Development Dependencies Install
* | | | Cleanup development_dependencies_install.mdJon Moss2017-08-181-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | Lots of grammar cleanup, and also changing to use macOS. [ci skip]
* | | | Add Yarn installation instructions for Active StorageJon Moss2017-08-181-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a requirement when working on the JS portions of ASt. Using npm instead of Yarn is a bad idea here since the lockfile is in Yarn's format. [ci skip]
* | | | Add note about JSON/JSONB serialization changesJon Moss2017-08-171-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial commit (efaa6e4f79d457c2cdd08cbc56d63bc972a6993c) that changed this behavior was intended to be a minor change, but ended up becoming a large-ish breaking change within Active Record. This is because instead of only JSON encoding `Hash`es or `Array`s in `#serialize`, we now encode all values passed in. This is an issue if you're passing in a `String`, that has already been transformed from a `Hash` to a `String`, since your data is now being double encoded. Unfortunately, the change was included in one of the v5.0.0 beta releases, and it is too late to revert without huge ripple effects. Thus, all we can do is update the documentation (via this commit), and add some test coverage (coming soon in a PR) for the new behavior. Please note that in the documentation I talk about deserialization, not about serialization, where the actual change occurred. This is because you won't notice any changes in serialized data until you try and deserialize it. Also to make the change itself (confusing until you read through everything multiple times) easier to understand. Related #27788, #25594, #26101, #24234, #28292, #28285, #28285, and probably others. [ci skip]
* | | | Remove obsolete explanationohbarye2017-08-171-1/+1
|/ / / | | | | | | | | | | | | | | | about passing string to `:if` and `:unless`. This is a follow up to https://github.com/rails/rails/pull/28058 [ci skip]
* | | Small grammar fixesJon Moss2017-08-161-1/+1
| | | | | | | | | | | | | | | | | | Changed sentence to be more clear [ci skip]