aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
Commit message (Collapse)AuthorAgeFilesLines
...
* guides, restructure Rails 5.0 release notes. [ci skip]Yves Senn2015-12-221-0/+8
| | | | | xref #22701. xref #20612.
* Upgrade Guide: Add missing period, :scissors: whitespace [skip ci]Jon Atack2015-12-201-2/+2
|
* Fix section about ApplicationRecord in upgrading guide [ci skip]Prathamesh Sonpatki2015-12-171-4/+4
|
* ApplicationRecord release notes entryGenadi Samokovarov2015-12-171-0/+19
| | | | [ci skip]
* Mention the correct way to halt callback chainsCarlos Souza2015-12-161-1/+1
| | | | | The previous title was misleading. [ci skip]
* Replace `serve_static_files` mentions in docs.Kasper Timm Hansen2015-11-041-2/+4
| | | | | | | | Should use `public_file_server.enabled` instead. Clarified that static files will be served from the public directory, where it made sense. Also removed occurrence of the deprecated `static_cache_control`.
* Fix double word 'be' [ci skip]Jake Worth2015-10-311-1/+1
|
* Refactor AS::Callbacks halt config and fix the documentationRoque Pinel2015-10-011-11/+14
| | | | | | | | | Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a818d413c64ff9867125f0b03788fc306f8
* Clarify CSRF <script> purpose and protection. Note how to deal with your own ↵Jeremy Daer2015-09-161-5/+8
| | | | | | | | <script> tags. Ref #21618 [ci skip]
* Improved explanation of the <script> tag CSRF behaviorAnshul Agrawal2015-09-141-4/+2
|
* Removed Extra ‘the’ [ci skip]Ronak Jangir2015-09-061-1/+1
|
* Fix doc typoTom Copeland2015-08-071-1/+1
|
* Add info on default layout functionality 3.2 >> 4.0 upgradeStephen Puiszis2015-05-261-0/+2
|
* [ci skip] update ruby doc links; for rails next version ruby 2.2+ will be ↵Gaurav Sharma2015-05-201-1/+1
| | | | supported only
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-05-081-1/+1
|\
| * Replaced Javascript with JavaScript in guidesPrathamesh Sonpatki2015-04-281-1/+1
| |
* | add note about habtm relations with scopesRob Looby2015-05-031-0/+2
| |
* | add upgrade note for breaking habtm change in 3.2 -> 4.0Rob Looby2015-05-011-0/+12
| | | | | | | | | | | | | | | | | | The has_and_belongs_to_many default join_table behavior changed between Rails 3.2 and Rails 4.0 and should be noted in the appropriate section of the upgrade guide. commit: https://github.com/rails/rails/commit/46492949b8c09f99db78b9f7a02d039e7bc6a702
* | Fix typos and improve the documentationJon Atack2015-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash of the following commits, from first to last: - Fix minor, random things I’ve come across lately that individually did not seem worth making a PR for, so I saved them for one commit. One common error is using “it’s” (which is an abbreviation of “it is”) when the possessive “its” should be used for indicating possession. - Changes include the name of a test, so remove the `[skip ci]` (thanks @senny). - Line wrap the changes at 80 chars and add one more doc fix. - Add a missing line wrap in the Contributing to Ruby on Rails Guide. - Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well. Rendering the guide locally with `bundle exec rake guides:generate` did not show any change in on-screen formatting after adding the line wrap. The HTML generated is (extra line added to illustrate where the line wrap takes place): <div class="info"><p>Please squash your commits into a single commit when appropriate. This simplifies future cherry picks and also keeps the git log clean.</p></div> - Squash commits.
* | Merge pull request #19753 from jonatack/use-ruby-2-2-2Guillermo Iguaran2015-04-131-1/+1
|\ \ | |/ |/| Upgrade to Ruby 2.2.2
| * Upgrade to Ruby 2.2.2Jon Atack2015-04-141-1/+1
| | | | | | | | and fix the grammar in the ruby_version_check.rb user message.
* | Fix a few typos [ci skip]Robin Dupret2015-04-051-5/+7
|/
* Add explicit base class for ActiveJob jobsJeroen van Baarsen2015-03-231-0/+15
| | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Rails 5.0 needs ruby 2.2.1 or higherJeroen van Baarsen2015-03-081-1/+1
| | | | Since there was a bug in 2.2.0, the minimum ruby requirement is 2.2.1. See https://github.com/rails/rails/commit/8ed0b89b [skip ci]
* Merge pull request #18363 from ↵Yves Senn2015-02-111-0/+16
|\ | | | | | | | | | | | | | | andreynering/add-foreign-key-subsection-in-upgrading-guide Adding subsection on 'Upgrading' guide about foreign key support [ci skip]
| * Adding subsection on 'upgrading' guide about 4.2 foreign key support [ci skip]Andrey Nering2015-02-101-0/+14
|/
* Use Module#include instead of send :include, since now is a public method ↵robertomiranda2015-01-311-1/+1
| | | | | | [ci skip] ref https://bugs.ruby-lang.org/issues/8846
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* Add config to halt callback chain on return falseclaudiob2015-01-021-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stems from [a comment](rails#17227 (comment)) by @dhh. In summary: * New Rails 5.0 apps will not accept `return false` as a way to halt callback chains, and will not display a deprecation warning. * Existing apps ported to Rails 5.0 will still accept `return false` as a way to halt callback chains, albeit with a deprecation warning. For this purpose, this commit introduces a Rails configuration option: ```ruby config.active_support.halt_callback_chains_on_return_false ``` For new Rails 5.0 apps, this option will be set to `false` by a new initializer `config/initializers/callback_terminator.rb`: ```ruby Rails.application.config.active_support.halt_callback_chains_on_return_false = false ``` For existing apps ported to Rails 5.0, the initializers above will not exist. Even running `rake rails:update` will not create this initializer. Since the default value of `halt_callback_chains_on_return_false` is set to `true`, these apps will still accept `return true` as a way to halt callback chains, displaying a deprecation warning. Developers will be able to switch to the new behavior (and stop the warning) by manually adding the line above to their `config/application.rb`. A gist with the suggested release notes to add to Rails 5.0 after this commit is available at https://gist.github.com/claudiob/614c59409fb7d11f2931
* Updating guides for Rails 5.0 [ci skip]Lucas Caton2015-01-021-2/+6
|
* adjust args of Bundler.require in guides [ci skip]Yosuke2014-12-291-1/+1
| | | | | | Arguments of Bundler.require of generator has been changed from rails4.0.4. https://github.com/rails/rails/blob/v4.0.4/railties/lib/rails/generators/rails/app/templates/config/application.rb#L16
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Use serve_static_files in guides [skip ci]Arthur Neves2014-12-221-1/+1
|
* Spelling fix [ci skip]George Millo2014-12-181-2/+2
|
* [guides] Fix method name inconsistency in a mailer exampleYuki Nishijima2014-12-121-1/+1
| | | | [ci skip]
* Mention that Action Mailer methods are not deferred [ci skip]Godfrey Chan2014-12-121-0/+35
| | | | | | Closes #17965, #17968 [Godfrey Chan, Miklós Fazekas]
* Revert "Merge pull request #17943 from jeremywadsack/doc_cache_importability"Rafael Mendonça França2014-12-111-4/+0
| | | | | | | | This reverts commit b0e7278ddbe483475d7b2e161e65ae18df91b9f8, reversing changes made to 785d04e3109f69d0b9b9f4732179592f0ef04e52. This is not true. It is a bug and we will fix in the latest 4.0.x release.
* Merge pull request #17942 from yui-knk/fix/upgrading.mdRichard Schneeman2014-12-061-1/+1
|\ | | | | [ci skip] update rails version to 3.2.21
| * [ci skip] update rails version to 3.2.21yui-knk2014-12-061-1/+1
| |
* | Add Guides note to change cache name space as Entry data is incompatible ↵Jeremy Wadsack2014-12-041-0/+4
|/ | | | between 3.2 and 4.0
* Use web_console 2.0 for 4.2.0.rc1 releaseGenadi Samokovarov2014-11-261-1/+1
| | | | | This one replaces the notable web-console mentions in guide and the default Gemfile.
* Remove Web Console /console references in the guidesGenadi Samokovarov2014-11-251-9/+0
|
* :scissors: WIP labels [ci skip]Godfrey Chan2014-11-251-3/+0
|
* Prepare for RC: link to the 4-2-stable [ci skip]Godfrey Chan2014-11-251-1/+1
|
* Mention log_level deprecation in upgrade guides [ci skip]Godfrey Chan2014-11-251-0/+12
|
* Specified beta branch for web-console gemMatthew Cullum2014-11-221-1/+1
|
* Replace "behaviour" with "behavior"Dave Powers2014-11-111-2/+2
| | | Update to consistently use American English [ci skip]
* Replace Html with HTML [ci skip]Prathamesh Sonpatki2014-11-061-2/+2
| | | | - Everywhere else we using HTML Sanitizer except this place.
* Merge pull request #17460 from hbriggs/masterAbdelkader Boudih2014-10-311-4/+7
|\ | | | | Masked authenticity token section, finder options details, misc typos [ci skip]
| * Add masked authenticity token section, details on finder options, misc typos ↵Hannah Briggs2014-10-311-5/+8
| | | | | | | | [ci skip]