aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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]
* | [ci skip] Fixes typos in section 2.7 "Rails Html Sanitizer", adds content to ↵Hannah Briggs2014-10-291-3/+3
|/ | | | section 2.8 "Rails DOM Testing"
* Clarify wording in Rails HTML Sanitizer sectionDave Powers2014-10-161-1/+1
| | | [ci skip]
* Fix grammarDave Powers2014-10-071-1/+1
|
* Fix typo in upgrading guidePrathamesh Sonpatki2014-09-271-1/+1
| | | | | - [ci skip] - behvaior -> behavior
* rails-html-sanitizer is now the defaultRafael Mendonça França2014-09-251-9/+6
| | | | Also add to upgrading guide a notice about the deprecated sanitizers
* Added Responders docs, made Web Console docs more consistent. [ci skip]Todd Bealmear2014-09-161-4/+40
|
* Fix typoRafael Mendonça França2014-09-101-1/+1
|
* Merge pull request #16839 from chancancode/default_test_orderRafael Mendonça França2014-09-101-0/+18
|\ | | | | | | Default to sorting user's test cases for now
| * Default to sorting user's test cases for nowGodfrey Chan2014-09-081-0/+18
| | | | | | | | | | | | | | | | | | | | | | Goals: 1. Default to :random for newly generated applications 2. Default to :sorted for existing applications with a warning 3. Only show the warning once 4. Only show the warning if the app actually uses AS::TestCase Fixes #16769
* | [ci skip] application.rb -> development.rb in web-console docsyuuji.yaginuma2014-09-101-1/+1
| |
* | :scissors: "now" [ci skip]Godfrey Chan2014-09-081-1/+1
| | | | | | minor fix for #16846
* | Merge pull request #16846 from ↵Godfrey Chan2014-09-081-1/+16
|\ \ | | | | | | | | | | | | prathamesh-sonpatki/document-error-handling-in-transactions-callbacks Update upgrading guide about error handling in transactional callbacks [ci skip]
| * | Update upgrading guide about error handling in transactional callbacksPrathamesh Sonpatki2014-09-091-1/+16
| |/ | | | | | | | | - Part of 16576 - [ci skip]
* / Add docs for web-console to 4.2 Upgrade Guide [ci skip]Todd Bealmear2014-09-081-2/+6
|/
* [ci skip] Fix example code of ActiveRecord::FixtureSet.context_classyuuji.yaginuma2014-08-291-1/+1
|
* Guide fix. [CI SKIP]Guo Xiang Tan2014-08-221-3/+3
| | | | Related: https://github.com/rails/rails/pull/16607
* Upgrade guide pass. [CI SKIP]Guo Xiang Tan2014-08-211-9/+10
|
* Some placeholders for the 4.2 upgrade guide [ci skip]Godfrey Chan2014-08-191-0/+16
|
* Clearly mark these as WIP, and invite people to contribute. [ci skip]Godfrey Chan2014-08-191-1/+2
|
* require 'test_help' -> require 'rails/test_help'Sean Griffin2014-08-181-1/+1
|
* fix broken link [ci skip]Aditya Kapoor2014-08-191-1/+1
|