aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-04-291-5/+5
|\ | | | | | | | | Conflicts: guides/source/configuring.md
| * - Make sure we end sentencesVipul A M2016-04-131-5/+5
| | | | | | | | | | | | - Change from "The Task" to "The Update Task" as referred elsewhere [ci skip]
* | Add a note about how to execute 'rails app:update' on 4.2 and earlier [ci skip]Javier Vidal2016-04-151-1/+1
| |
* | Add ruby 2.2.2+ version requirement for Rails 5 appsVipul A M2016-04-131-1/+2
|/ | | | [ci skip]
* Correct command for generating secret_key_base [ci skip]Wiehann2016-03-141-1/+1
|
* remove "rake" word [ci skip]yuuji.yaginuma2016-02-281-3/+3
|
* use `app:update` instead of deprecated `rails:update` [ci skip]yuuji.yaginuma2016-02-281-2/+2
| | | | `rails:update` was deprecated in 6fb31638c8b61731103d4963272755b217a2df87
* Update docs to point to new update task.Arthur Neves2016-02-271-3/+3
| | | | | | | | | | | | This guides were pointing to this command `rails app:update`, which I tried to run, but it didnt worked. I think the right command is `rails rails:update` instead. Also thats the name of the rake task. Also I removed the `Rake` word from the title, as we run it using `rails` bin now. cc @kaspth [skip ci]
* The tasks in the rails task namespace is deprecated in favor of app namespace.Ryo Hashimoto2016-02-261-2/+2
| | | | (e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
* Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
|
* Fix numbers of steps to upgrade Rails [ci skip]Prathamesh Sonpatki2016-02-121-3/+3
|
* Improve wording in documentation changeLeslie Viljoen2016-02-121-3/+3
| | | | [ci skip]
* Document the upgrade processLeslie Viljoen2016-02-121-0/+15
| | | | | | | | The iterative process one has to follow is not currently documented, and people could be unfamiliar with the Rails versioning scheme, causing them to skip versions or upgrade to patch releases. [ci skip]
* use rails secret in rails guidesRyo Hashimoto2016-02-031-1/+1
|
* remove duplication section [ci skip]Aditya Kapoor2016-01-271-4/+0
|
* 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]