Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add config to halt callback chain on return false | claudiob | 2015-01-02 | 1 | -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 Caton | 2015-01-02 | 1 | -2/+6 |
| | |||||
* | adjust args of Bundler.require in guides [ci skip] | Yosuke | 2014-12-29 | 1 | -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 GitHub | Xavier Noria | 2014-12-23 | 1 | -0/+2 |
| | | | | References #18148. | ||||
* | Use serve_static_files in guides [skip ci] | Arthur Neves | 2014-12-22 | 1 | -1/+1 |
| | |||||
* | Spelling fix [ci skip] | George Millo | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | [guides] Fix method name inconsistency in a mailer example | Yuki Nishijima | 2014-12-12 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Mention that Action Mailer methods are not deferred [ci skip] | Godfrey Chan | 2014-12-12 | 1 | -0/+35 |
| | | | | | | Closes #17965, #17968 [Godfrey Chan, Miklós Fazekas] | ||||
* | Revert "Merge pull request #17943 from jeremywadsack/doc_cache_importability" | Rafael Mendonça França | 2014-12-11 | 1 | -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.md | Richard Schneeman | 2014-12-06 | 1 | -1/+1 |
|\ | | | | | [ci skip] update rails version to 3.2.21 | ||||
| * | [ci skip] update rails version to 3.2.21 | yui-knk | 2014-12-06 | 1 | -1/+1 |
| | | |||||
* | | Add Guides note to change cache name space as Entry data is incompatible ↵ | Jeremy Wadsack | 2014-12-04 | 1 | -0/+4 |
|/ | | | | between 3.2 and 4.0 | ||||
* | Use web_console 2.0 for 4.2.0.rc1 release | Genadi Samokovarov | 2014-11-26 | 1 | -1/+1 |
| | | | | | This one replaces the notable web-console mentions in guide and the default Gemfile. | ||||
* | Remove Web Console /console references in the guides | Genadi Samokovarov | 2014-11-25 | 1 | -9/+0 |
| | |||||
* | :scissors: WIP labels [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -3/+0 |
| | |||||
* | Prepare for RC: link to the 4-2-stable [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -1/+1 |
| | |||||
* | Mention log_level deprecation in upgrade guides [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -0/+12 |
| | |||||
* | Specified beta branch for web-console gem | Matthew Cullum | 2014-11-22 | 1 | -1/+1 |
| | |||||
* | Replace "behaviour" with "behavior" | Dave Powers | 2014-11-11 | 1 | -2/+2 |
| | | | Update to consistently use American English [ci skip] | ||||
* | Replace Html with HTML [ci skip] | Prathamesh Sonpatki | 2014-11-06 | 1 | -2/+2 |
| | | | | - Everywhere else we using HTML Sanitizer except this place. | ||||
* | Merge pull request #17460 from hbriggs/master | Abdelkader Boudih | 2014-10-31 | 1 | -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 Briggs | 2014-10-31 | 1 | -5/+8 |
| | | | | | | | | [ci skip] | ||||
* | | [ci skip] Fixes typos in section 2.7 "Rails Html Sanitizer", adds content to ↵ | Hannah Briggs | 2014-10-29 | 1 | -3/+3 |
|/ | | | | section 2.8 "Rails DOM Testing" | ||||
* | Clarify wording in Rails HTML Sanitizer section | Dave Powers | 2014-10-16 | 1 | -1/+1 |
| | | | [ci skip] | ||||
* | Fix grammar | Dave Powers | 2014-10-07 | 1 | -1/+1 |
| | |||||
* | Fix typo in upgrading guide | Prathamesh Sonpatki | 2014-09-27 | 1 | -1/+1 |
| | | | | | - [ci skip] - behvaior -> behavior | ||||
* | rails-html-sanitizer is now the default | Rafael Mendonça França | 2014-09-25 | 1 | -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 Bealmear | 2014-09-16 | 1 | -4/+40 |
| | |||||
* | Fix typo | Rafael Mendonça França | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #16839 from chancancode/default_test_order | Rafael Mendonça França | 2014-09-10 | 1 | -0/+18 |
|\ | | | | | | | Default to sorting user's test cases for now | ||||
| * | Default to sorting user's test cases for now | Godfrey Chan | 2014-09-08 | 1 | -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 docs | yuuji.yaginuma | 2014-09-10 | 1 | -1/+1 |
| | | |||||
* | | :scissors: "now" [ci skip] | Godfrey Chan | 2014-09-08 | 1 | -1/+1 |
| | | | | | | minor fix for #16846 | ||||
* | | Merge pull request #16846 from ↵ | Godfrey Chan | 2014-09-08 | 1 | -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 callbacks | Prathamesh Sonpatki | 2014-09-09 | 1 | -1/+16 |
| |/ | | | | | | | | | - Part of 16576 - [ci skip] | ||||
* / | Add docs for web-console to 4.2 Upgrade Guide [ci skip] | Todd Bealmear | 2014-09-08 | 1 | -2/+6 |
|/ | |||||
* | [ci skip] Fix example code of ActiveRecord::FixtureSet.context_class | yuuji.yaginuma | 2014-08-29 | 1 | -1/+1 |
| | |||||
* | Guide fix. [CI SKIP] | Guo Xiang Tan | 2014-08-22 | 1 | -3/+3 |
| | | | | Related: https://github.com/rails/rails/pull/16607 | ||||
* | Upgrade guide pass. [CI SKIP] | Guo Xiang Tan | 2014-08-21 | 1 | -9/+10 |
| | |||||
* | Some placeholders for the 4.2 upgrade guide [ci skip] | Godfrey Chan | 2014-08-19 | 1 | -0/+16 |
| | |||||
* | Clearly mark these as WIP, and invite people to contribute. [ci skip] | Godfrey Chan | 2014-08-19 | 1 | -1/+2 |
| | |||||
* | require 'test_help' -> require 'rails/test_help' | Sean Griffin | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | fix broken link [ci skip] | Aditya Kapoor | 2014-08-19 | 1 | -1/+1 |
| | |||||
* | Prepare for partial release. | Kasper Timm Hansen | 2014-08-17 | 1 | -0/+32 |
| | | | | | | | - Default to Rails::DeprecatedSanitizer in ActionView::Helpers::SanitizeHelper. - Add upgrade notes. - Add sanitizer to new applications Gemfiles. - Remove 'rails-dom-testing' as a dependency. | ||||
* | Merge pull request #16300 from ↵ | Godfrey Chan | 2014-08-10 | 1 | -1/+5 |
|\ | | | | | | | | | vast/mention-changes-to-nil-serialization-in-upgrading-from-3.2 Mention changes to `nil` handling in serialized attributes | ||||
| * | [ci skip] Clarify the "Serialized Attributes" section | Vasily Polovnyov | 2014-07-26 | 1 | -1/+2 |
| | | | | | | | | | | Mention that the change in nil handling for serialized attributes affects custom coders. | ||||
| * | [ci skip] Mention the change in nil handling for serialized attributes | Vasily Polovnyov | 2014-07-26 | 1 | -0/+3 |
| | | | | | | | | in "Upgrading from Rails 3.2 to Rails 4.0" | ||||
* | | Add after_bundle to the release notes and upgrade guide | Stefan Kanev | 2014-08-05 | 1 | -0/+32 |
|/ | |||||
* | Document the change in `nil` handling for serialized attributes | Godfrey Chan | 2014-07-15 | 1 | -0/+5 |
| | | | | Also updated the test case to reflect that | ||||
* | [ci skip] Document millisecond precision change in ↵ | Eugene Gilburg | 2014-07-09 | 1 | -2/+12 |
| | | | | ActiveSupport::TimeWithZone#as_json |